Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 103.3 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.77 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2413, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002464/0.2438, allocations: 1.519 MB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2449, allocations: 0.7401 MB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.2449, allocations: 3.938 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.245, allocations: 7.922 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.245, allocations: 11.88 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.2455, allocations: 127.6 kB / 0.9535 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2456, allocations: 91.7 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.2457, allocations: 15.97 kB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.2458, allocations: 39.86 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.2459, allocations: 47.81 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2459, allocations: 8 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2461, allocations: 99.91 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.2461, allocations: 23.92 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.2462, allocations: 35.8 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2464, allocations: 163.5 kB / 0.954 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2464, allocations: 0 / 0.954 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2464, allocations: 0 / 0.954 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2464, allocations: 0 / 0.954 GB, free: 5.164 MB / 0.7325 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.0005349/0.247, allocations: 471.4 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.247, allocations: 12.03 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.247, allocations: 8.844 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2471, allocations: 172.3 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2472, allocations: 4.375 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2472, allocations: 8.375 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2474, allocations: 89.89 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2474, allocations: 0 / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2474, allocations: 7.984 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.2475, allocations: 0 / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.2476, allocations: 47.97 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2481, allocations: 324.5 kB / 0.9551 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2483, allocations: 70.55 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.2484, allocations: 40.84 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2484, allocations: 12.14 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.2486, allocations: 91.39 kB / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2486, allocations: 0 / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004439/0.249, allocations: 189.5 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2491, allocations: 51.41 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.2492, allocations: 133.8 kB / 0.9556 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2492, allocations: 25.7 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2493, allocations: 100.3 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2493, allocations: 16.19 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.2493, allocations: 33.64 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.2494, allocations: 326.8 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.2495, allocations: 27.98 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.2496, allocations: 77.92 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2498, allocations: 113.9 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2498, allocations: 0 / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002392/0.25, allocations: 125.4 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2501, allocations: 10.03 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2501, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2501, allocations: 4 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.2502, allocations: 28.17 kB / 0.9565 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2502, allocations: 3.938 kB / 0.9565 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.2503, allocations: 15.89 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2503, allocations: 7.984 kB / 0.9565 GB, free: 2.289 MB / 0.7325 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 8.686e-05/0.2504, allocations: 137.5 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2504, allocations: 7.906 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.2505, allocations: 8.375 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2505, allocations: 4 kB / 0.9566 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2505, allocations: 3.984 kB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2505, allocations: 0 / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.251, allocations: 430.4 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.251, allocations: 4 kB / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.251, allocations: 4 kB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2511, allocations: 0 / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2511, allocations: 11.98 kB / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2511, allocations: 0 / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2511, allocations: 7.938 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.2514, allocations: 243.3 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2515, allocations: 85.02 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.2515, allocations: 4 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.2516, allocations: 4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2516, allocations: 12.11 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2517, allocations: 11.98 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.2517, allocations: 103.1 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2517, allocations: 4 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002844/0.252, allocations: 36 kB / 0.9576 GB, free: 1.094 MB / 0.7325 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.0002788/0.2523, allocations: 163.4 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.2526, allocations: 95.83 kB / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2526, allocations: 0 / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2527, allocations: 59.84 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.253, allocations: 9.297 kB / 0.9579 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.2534, allocations: 208.7 kB / 0.9581 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2536, allocations: 0.6885 MB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.2536, allocations: 12.11 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2537, allocations: 15.42 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2537, allocations: 0 / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of Templates: time 0.004066/0.2578, allocations: 1.702 MB / 0.9604 GB, free: 14.11 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches