Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001078/0.001078, 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.001089/0.001089, allocations: 196 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.143/2.143, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5211, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002032/0.5232, allocations: 1.518 MB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004967/0.5237, allocations: 451.4 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.5238, allocations: 1.375 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.5238, allocations: 7.922 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.936e-05/0.5238, allocations: 13.23 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.524, allocations: 20.11 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.5241, allocations: 48.42 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.5241, allocations: 17.47 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.5242, allocations: 20.23 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.5243, allocations: 26.72 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.5243, allocations: 2.75 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.5243, allocations: 2.75 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.5243, allocations: 5.312 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.5244, allocations: 26.73 kB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.608e-05/0.5244, allocations: 44.69 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5244, allocations: 1.562 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5244, allocations: 0 / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.5244, allocations: 0 / 0.9512 GB, free: 7.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000345/0.5248, allocations: 414.2 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.5248, allocations: 9.812 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.312e-05/0.5249, allocations: 34.75 kB / 0.9516 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.5249, allocations: 8.562 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.626e-05/0.525, allocations: 171.1 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.525, allocations: 5.938 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.525, allocations: 7.234 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.5251, allocations: 62.27 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5252, allocations: 7.938 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.5252, allocations: 0 / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.5252, allocations: 1.344 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.5253, allocations: 34.78 kB / 0.9519 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.5256, allocations: 276.9 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.231e-05/0.5257, allocations: 40.41 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.5258, allocations: 25.5 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5258, allocations: 4.688 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.5259, allocations: 67.3 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.5259, allocations: 0 / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002983/0.5262, allocations: 110.3 kB / 0.9524 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.5263, allocations: 60.7 kB / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.5263, allocations: 117.8 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.5263, allocations: 29.7 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.5264, allocations: 86.39 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.5264, allocations: 18.52 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.5264, allocations: 27.2 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.5265, allocations: 320.2 kB / 0.953 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.5265, allocations: 17.48 kB / 0.9531 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.5266, allocations: 45.69 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.5267, allocations: 72.33 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5267, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.5269, allocations: 96.48 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5269, allocations: 5.969 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5269, allocations: 1.219 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5269, allocations: 2.688 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.527, allocations: 10.14 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.527, allocations: 1.25 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.5271, allocations: 3.781 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5271, allocations: 6.938 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 5.072e-05/0.5271, allocations: 121.7 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.5272, allocations: 14.41 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.5272, allocations: 5.25 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5272, allocations: 1.156 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5272, allocations: 0 / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5272, allocations: 1.531 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.5275, allocations: 343.4 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5275, allocations: 0 / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.5275, allocations: 15.11 kB / 0.9538 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5275, allocations: 1.25 kB / 0.9538 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5276, allocations: 0 / 0.9538 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5276, allocations: 5.219 kB / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5276, allocations: 0 / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.5278, allocations: 180.5 kB / 0.9539 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.5278, allocations: 82.8 kB / 0.954 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.5278, allocations: 9.406 kB / 0.954 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.5279, allocations: 12.3 kB / 0.954 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.5279, allocations: 5.328 kB / 0.954 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5279, allocations: 9.484 kB / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.528, allocations: 87.56 kB / 0.9541 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.528, allocations: 0 / 0.9541 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002244/0.5282, allocations: 8.781 kB / 0.9541 GB, free: 4.449 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003161/0.5285, allocations: 0.7196 MB / 0.9549 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.5287, allocations: 51.81 kB / 0.9549 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5287, allocations: 320 / 0.9549 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.5288, allocations: 33.55 kB / 0.9549 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.529, allocations: 17.12 kB / 0.9549 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.53, allocations: 1.404 MB / 0.9563 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.5301, allocations: 0.6878 MB / 0.957 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.5301, allocations: 4.953 kB / 0.957 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.5301, allocations: 14.72 kB / 0.957 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5301, allocations: 0 / 0.957 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.27/1.8, allocations: 1.412 MB / 0.9584 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.8, allocations: 249.1 kB / 0.9586 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/3.927, allocations: 0 / 0.9586 GB, free: 0.6992 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches