Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.967e-06/3.967e-06, allocations: 4 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/2.01e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001812/0.001832, allocations: 1.514 MB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002878, allocations: 0.7833 MB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.002934, allocations: 0 / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.002964, allocations: 7.875 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.003027, allocations: 23.78 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.003614, allocations: 147.4 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.00373, allocations: 99.69 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.003818, allocations: 11.94 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.003964, allocations: 63.81 kB / 0.9531 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.004025, allocations: 39.88 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.004044, allocations: 8 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.004241, allocations: 131.8 kB / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.004269, allocations: 23.91 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.004307, allocations: 31.89 kB / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.004538, allocations: 187.4 kB / 0.9535 GB, free: 460 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004541, allocations: 0 / 0.9535 GB, free: 460 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004542, allocations: 4 kB / 0.9535 GB, free: 456 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.004547, allocations: 3.938 kB / 0.9535 GB, free: 452 kB / 0.9011 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.0005415/0.005088, allocations: 393.1 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.005125, allocations: 8.031 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.005168, allocations: 38.73 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.005348, allocations: 24.88 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005515, allocations: 137.6 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.005536, allocations: 4.375 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.00555, allocations: 12.38 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.005698, allocations: 90.12 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005705, allocations: 192 / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.005717, allocations: 4.125 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005723, allocations: 0 / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.005814, allocations: 47.97 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.00618, allocations: 271.8 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.006305, allocations: 66.48 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.006366, allocations: 40.83 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.006386, allocations: 7.938 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.006514, allocations: 95.39 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.006515, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003407/0.006855, allocations: 185.5 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.00689, allocations: 59.41 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.00697, allocations: 129.1 kB / 0.955 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.006983, allocations: 34.08 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.00706, allocations: 92.38 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.007081, allocations: 31.92 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.007118, allocations: 33.7 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.00719, allocations: 322.8 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.007235, allocations: 27.98 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.007296, allocations: 74 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.007408, allocations: 113.9 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.007411, allocations: 3.938 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001418/0.007553, allocations: 133.5 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.007565, allocations: 8 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.00757, allocations: 160 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.007583, allocations: 8 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.007642, allocations: 23.92 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007647, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.007684, allocations: 15.89 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.007695, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 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 0.0001509/0.007846, allocations: 129.8 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.007857, allocations: 7.953 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.007881, allocations: 8.438 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007883, allocations: 7.938 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007887, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007891, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.008231, allocations: 393.5 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008233, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.008252, allocations: 7.984 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008253, allocations: 0 / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.008262, allocations: 0 / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008263, allocations: 0 / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008264, allocations: 4 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.00847, allocations: 263.2 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.008481, allocations: 15.84 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.0085, allocations: 12.17 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.008544, allocations: 0 / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.008582, allocations: 11.92 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.00859, allocations: 4 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.008638, allocations: 99.27 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008638, allocations: 0 / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002372/0.008875, allocations: 47.86 kB / 0.9569 GB, free: 12.63 MB / 0.9167 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.0006572/0.009533, allocations: 0.8504 MB / 0.9577 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.009804, allocations: 95.83 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009806, allocations: 320 / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.009873, allocations: 52 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.01007, allocations: 25.81 kB / 0.9579 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.01115, allocations: 1.593 MB / 0.9594 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.01119, allocations: 79.58 kB / 0.9595 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.01123, allocations: 12.67 kB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.01127, allocations: 24.48 kB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.01127, allocations: 0 / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02629, allocations: 3.76 MB / 0.9632 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.156, allocations: 6.078 kB / 0.9632 GB, free: 6.148 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.solarAltitude in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.21326445415616]