Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.458/2.458, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.23 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2325, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002308/0.2349, allocations: 1.503 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.236, allocations: 0.7559 MB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.236, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.2361, allocations: 7.875 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.2361, allocations: 19.8 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.2366, allocations: 127.6 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2367, allocations: 95.75 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2369, allocations: 8 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.237, allocations: 43.84 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.2371, allocations: 43.83 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2372, allocations: 8 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.2374, allocations: 103.8 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2375, allocations: 19.97 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.2375, allocations: 39.78 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2377, allocations: 151.9 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2377, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2377, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2377, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005021/0.2383, allocations: 462.5 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2383, allocations: 12.62 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.2383, allocations: 34.75 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2384, allocations: 8.844 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.287e-05/0.2385, allocations: 183.8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2385, allocations: 4.375 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2385, allocations: 4.375 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.2387, allocations: 89.75 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2387, allocations: 4 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2387, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2388, allocations: 3.984 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2389, allocations: 51.91 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.2394, allocations: 332.6 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2395, allocations: 66.55 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.2396, allocations: 48.88 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2396, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.2398, allocations: 95.34 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.2398, allocations: 3.938 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004202/0.2403, allocations: 181.5 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2403, allocations: 59.39 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.2404, allocations: 125.8 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2404, allocations: 33.69 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.2405, allocations: 92.28 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2405, allocations: 19.75 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.2405, allocations: 29.7 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.2406, allocations: 326.8 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.2407, allocations: 31.98 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.2408, allocations: 76.03 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.241, allocations: 109.9 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.241, allocations: 3.938 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002277/0.2412, allocations: 133.4 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2412, allocations: 8 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2412, allocations: 8.141 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2412, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2413, allocations: 12 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2414, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.2414, allocations: 15.89 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2414, allocations: 8 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.2415, allocations: 125.7 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.2415, allocations: 11.91 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2416, allocations: 16.36 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2416, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2416, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2416, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.242, allocations: 434.9 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2421, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2421, allocations: 4 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2421, allocations: 4.094 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2421, allocations: 12.06 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2421, allocations: 7.875 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2421, allocations: 3.938 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.2424, allocations: 239.4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.2425, allocations: 88.95 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2425, allocations: 4 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.2426, allocations: 11.98 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2426, allocations: 7.938 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2427, allocations: 11.98 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.2427, allocations: 95.27 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2427, allocations: 0 / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002748/0.243, allocations: 43.98 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/0.2437, allocations: 0.8473 MB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2439, allocations: 99.83 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2439, allocations: 4.312 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.244, allocations: 43.98 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2443, allocations: 19.86 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2457, allocations: 1.588 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2459, allocations: 0.6885 MB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.2459, allocations: 4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2459, allocations: 31.42 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.246, allocations: 0 / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.453/1.699, allocations: 2.935 MB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/9.682, allocations: 12.17 kB / 1.066 GB, free: 10.92 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches