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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001778/0.001778, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.149/2.149, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4849, allocations: 140.4 MB / 0.949 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002032/0.487, allocations: 1.556 MB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.4879, allocations: 0.7605 MB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.4879, allocations: 0 / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.488, allocations: 5.062 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.488, allocations: 8.891 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.4884, allocations: 106.9 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.4885, allocations: 84.45 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.4886, allocations: 22.28 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.4887, allocations: 45.03 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.4887, allocations: 40.36 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4888, allocations: 5.75 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.4889, allocations: 89.47 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.4889, allocations: 12.52 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.489, allocations: 46.91 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.4892, allocations: 147.2 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4892, allocations: 3.984 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.4892, allocations: 0 / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.4892, allocations: 3.938 kB / 0.9519 GB, free: 6.875 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.0004428/0.4896, allocations: 462.2 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.4897, allocations: 9.781 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.4897, allocations: 32.78 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.4897, allocations: 17.25 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.4898, allocations: 176.7 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4898, allocations: 7 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4898, allocations: 5.688 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.49, allocations: 94.91 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.4901, allocations: 0 / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4901, allocations: 1.188 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4901, allocations: 1.25 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4902, allocations: 43.78 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.4906, allocations: 331.8 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4908, allocations: 64.67 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.4909, allocations: 44.45 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4909, allocations: 1.344 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4911, allocations: 99.7 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.4911, allocations: 0 / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000423/0.4915, allocations: 185.5 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4915, allocations: 54.22 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.4916, allocations: 126.9 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4916, allocations: 35.42 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.4917, allocations: 88.31 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.4917, allocations: 26.36 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.4917, allocations: 31.86 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.453e-05/0.4918, allocations: 325.8 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.4919, allocations: 31.75 kB / 0.9541 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.4919, allocations: 76.48 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4921, allocations: 111.5 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4921, allocations: 0 / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002246/0.4923, allocations: 136.3 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4924, allocations: 7.25 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4924, allocations: 6.594 kB / 0.9544 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4924, allocations: 2.375 kB / 0.9544 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.4925, allocations: 23.8 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4925, allocations: 6.375 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.4926, allocations: 8.344 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4926, allocations: 8.406 kB / 0.9545 GB, free: 4.461 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.029e-05/0.4926, allocations: 126.9 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.4927, allocations: 11.08 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.4927, allocations: 10.91 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4927, allocations: 5.344 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4927, allocations: 4 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4927, allocations: 0 / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.4931, allocations: 433.5 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4931, allocations: 0 / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.4932, allocations: 8.453 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4932, allocations: 0 / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4932, allocations: 1.25 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4932, allocations: 1.25 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4932, allocations: 7.922 kB / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.4935, allocations: 246 kB / 0.9553 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.4936, allocations: 91.28 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.4936, allocations: 5.406 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.4937, allocations: 3.031 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.4937, allocations: 14.39 kB / 0.9554 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4937, allocations: 3.969 kB / 0.9554 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.4938, allocations: 101 kB / 0.9555 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4938, allocations: 1.25 kB / 0.9555 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002854/0.4941, allocations: 42.77 kB / 0.9555 GB, free: 3.492 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.0006154/0.4947, allocations: 0.8341 MB / 0.9563 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4949, allocations: 92.92 kB / 0.9564 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4949, allocations: 3.938 kB / 0.9564 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.4951, allocations: 53.44 kB / 0.9565 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4953, allocations: 24.14 kB / 0.9565 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4966, allocations: 1.593 MB / 0.9581 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.4967, allocations: 0.6959 MB / 0.9587 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.4967, allocations: 9.734 kB / 0.9588 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.4967, allocations: 24.17 kB / 0.9588 GB, free: 472 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.4968, allocations: 3.938 kB / 0.9588 GB, free: 468 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.573, allocations: 2.731 MB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.573, allocations: 270.5 kB / 0.9617 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/3.553, allocations: 0 / 0.9617 GB, free: 14.75 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