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.00136/0.00136, 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.001436/0.001436, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9/0.9, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.07 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.767e-06/3.767e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/4.084e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003477/0.003517, allocations: 1.528 MB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005395, allocations: 0.7833 MB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.005472, allocations: 0 / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.005518, allocations: 11.86 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.005615, allocations: 19.8 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.006467, allocations: 147.4 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.006636, allocations: 95.64 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00675, allocations: 19.92 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.006943, allocations: 59.88 kB / 0.9531 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.007016, allocations: 31.89 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.007042, allocations: 8 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.007327, allocations: 139.7 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.007367, allocations: 27.89 kB / 0.9533 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.007422, allocations: 27.91 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.007744, allocations: 183.4 kB / 0.9535 GB, free: 456 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.007752, allocations: 4 kB / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.384e-06/0.007755, allocations: 0 / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.007762, allocations: 4 kB / 0.9535 GB, free: 448 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.0006817/0.008443, allocations: 394.8 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.008489, allocations: 8.031 kB / 0.9538 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.683e-05/0.008556, allocations: 42.73 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.00883, allocations: 24.88 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.009093, allocations: 133.7 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.009128, allocations: 8.375 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.009145, allocations: 4.375 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.009389, allocations: 94.12 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.0094, allocations: 192 / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.009415, allocations: 4.125 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.009422, allocations: 4 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.009555, allocations: 47.91 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.01012, allocations: 283.8 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.01028, allocations: 54.5 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.01037, allocations: 48.83 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01039, allocations: 0 / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.01059, allocations: 95.38 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.01059, allocations: 0 / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0004984/0.01109, allocations: 193.5 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.01113, allocations: 51.41 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01123, allocations: 129.8 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01125, allocations: 33.7 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.01131, allocations: 92.73 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01134, allocations: 23.8 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.01141, allocations: 37.7 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.01151, allocations: 318.8 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.01158, allocations: 27.92 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01175, allocations: 81.22 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.01191, allocations: 109.9 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01192, allocations: 3.938 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002321/0.01215, allocations: 133.5 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01217, allocations: 6.344 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01217, allocations: 0 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01219, allocations: 4.156 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.01228, allocations: 23.92 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01229, allocations: 4 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.01235, allocations: 15.89 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01237, allocations: 7.984 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.0001022/0.01247, allocations: 125.8 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.01249, allocations: 11.89 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.01253, allocations: 4.438 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.01253, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.01254, allocations: 8 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01255, allocations: 3.984 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.01315, allocations: 397.6 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01315, allocations: 0 / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.01319, allocations: 7.984 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.0132, allocations: 3.938 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01321, allocations: 4 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01322, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01322, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.01361, allocations: 263.3 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.01363, allocations: 15.83 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.01366, allocations: 4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.01376, allocations: 8.188 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.01382, allocations: 3.984 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.01384, allocations: 11.92 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.01391, allocations: 95.27 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.01391, allocations: 0 / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004184/0.01433, allocations: 47.88 kB / 0.9569 GB, free: 12.62 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.001347/0.01567, allocations: 0.8482 MB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01596, allocations: 91.83 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01596, allocations: 0 / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01607, allocations: 52.22 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.0003395/0.01641, allocations: 20.19 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.001802/0.01822, allocations: 1.603 MB / 0.9594 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01828, allocations: 79.58 kB / 0.9595 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.01833, allocations: 4.734 kB / 0.9595 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.01839, allocations: 28.48 kB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of SimCode: time 8.51e-07/0.01839, allocations: 0 / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.04014, allocations: 3.76 MB / 0.9632 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.964, allocations: 12.22 kB / 0.9632 GB, free: 6.137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.998122333548963]