Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_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.0008504/0.0008504, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005419/0.005419, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.113/2.113, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.5273, allocations: 142.4 MB / 0.9552 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.0012/0.5285, allocations: 1.217 MB / 0.9564 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.5294, allocations: 0.7295 MB / 0.9571 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.5295, allocations: 9.156 kB / 0.9571 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.5295, allocations: 3.984 kB / 0.9571 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.5296, allocations: 14.45 kB / 0.9571 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.5299, allocations: 105 kB / 0.9572 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.53, allocations: 89.14 kB / 0.9573 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.857e-05/0.5301, allocations: 21.81 kB / 0.9573 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.5302, allocations: 32.84 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.5303, allocations: 44.64 kB / 0.9574 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.5303, allocations: 4.406 kB / 0.9574 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.5304, allocations: 94.38 kB / 0.9575 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.5305, allocations: 19.66 kB / 0.9575 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.5305, allocations: 60.09 kB / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.5307, allocations: 144 kB / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5307, allocations: 0 / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5307, allocations: 0 / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5307, allocations: 4 kB / 0.9577 GB, free: 5.852 MB / 0.7169 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.0004118/0.5311, allocations: 450.9 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5312, allocations: 9.906 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.5312, allocations: 32.66 kB / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.5312, allocations: 8.469 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.5313, allocations: 188.9 kB / 0.9584 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.5313, allocations: 3.75 kB / 0.9584 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.5314, allocations: 12.44 kB / 0.9584 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5316, allocations: 90.31 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5316, allocations: 3.938 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5316, allocations: 1.438 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5316, allocations: 0 / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.5317, allocations: 50.91 kB / 0.9585 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.5322, allocations: 325 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.5323, allocations: 67.17 kB / 0.9589 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.5324, allocations: 48.44 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5324, allocations: 0 / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.5326, allocations: 102.2 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5326, allocations: 1.375 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004116/0.533, allocations: 200.3 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.5331, allocations: 62.14 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.5331, allocations: 123.6 kB / 0.9594 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5331, allocations: 35.06 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.5332, allocations: 91.27 kB / 0.9595 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.5332, allocations: 19.88 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.5332, allocations: 27.2 kB / 0.9596 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.5333, allocations: 324.1 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.5334, allocations: 31.23 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.5334, allocations: 77.36 kB / 0.96 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.5336, allocations: 117.9 kB / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5336, allocations: 0 / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002206/0.5338, allocations: 138.1 kB / 0.9602 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5339, allocations: 5.5 kB / 0.9602 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5339, allocations: 1.375 kB / 0.9602 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5339, allocations: 6.906 kB / 0.9602 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.534, allocations: 20.3 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.534, allocations: 2.75 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.534, allocations: 21.33 kB / 0.9603 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5341, allocations: 5.5 kB / 0.9603 GB, free: 3.449 MB / 0.7169 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 6.248e-05/0.5341, allocations: 124.6 kB / 0.9604 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.5341, allocations: 12.03 kB / 0.9604 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.5342, allocations: 9.75 kB / 0.9604 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5342, allocations: 1.375 kB / 0.9604 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5342, allocations: 3.984 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5342, allocations: 0 / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.5346, allocations: 439.8 kB / 0.9608 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5346, allocations: 4 kB / 0.9608 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.5346, allocations: 8.438 kB / 0.9609 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5347, allocations: 1.438 kB / 0.9609 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5347, allocations: 4.578 kB / 0.9609 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5347, allocations: 1.531 kB / 0.9609 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5347, allocations: 7.922 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.535, allocations: 259.4 kB / 0.9611 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.535, allocations: 86.92 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.535, allocations: 5.094 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.5351, allocations: 9.078 kB / 0.9612 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.5352, allocations: 6.938 kB / 0.9612 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.5352, allocations: 7.422 kB / 0.9612 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.5352, allocations: 98.55 kB / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5352, allocations: 0 / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002729/0.5355, allocations: 47.97 kB / 0.9614 GB, free: 2.473 MB / 0.7169 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.0006316/0.5361, allocations: 0.8463 MB / 0.9622 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5364, allocations: 98.09 kB / 0.9623 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5364, allocations: 1.031 kB / 0.9623 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.5365, allocations: 53.02 kB / 0.9623 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5368, allocations: 17.67 kB / 0.9624 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.538, allocations: 1.631 MB / 0.9639 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.5382, allocations: 0.695 MB / 0.9646 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.5382, allocations: 8.703 kB / 0.9646 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.5383, allocations: 18.66 kB / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5383, allocations: 0 / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5509/1.089, allocations: 2.638 MB / 0.9672 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.089, allocations: 270.2 kB / 0.9675 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/3.102, allocations: 1.406 kB / 0.9675 GB, free: 13.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches