Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.005645/0.005645, allocations: 98.69 kB / 15.73 MB, free: 6.062 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.001482/0.001482, allocations: 203.2 kB / 16.68 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2647, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002423/0.2672, allocations: 1.476 MB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.2679, allocations: 454.8 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.268, allocations: 0 / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.268, allocations: 7.938 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.2681, allocations: 11.88 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2683, allocations: 19.98 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2684, allocations: 55.77 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.2685, allocations: 8 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.2686, allocations: 19.92 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.2686, allocations: 27.91 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2687, allocations: 11.94 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.2687, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.2687, allocations: 7.984 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.2688, allocations: 23.86 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.2689, allocations: 44.11 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2689, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2689, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2689, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 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.000503/0.2694, allocations: 410.7 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2694, allocations: 16.03 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.2695, allocations: 38.69 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.2695, allocations: 8.828 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2696, allocations: 172.3 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2697, allocations: 4.375 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.2697, allocations: 384 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2698, allocations: 65.78 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2699, allocations: 0 / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2699, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2699, allocations: 4 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.27, allocations: 35.97 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.2704, allocations: 280.8 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.2705, allocations: 42.55 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.2706, allocations: 28.94 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2706, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.2708, allocations: 71.33 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2708, allocations: 0 / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003306/0.2712, allocations: 109.8 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2712, allocations: 67.39 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.2713, allocations: 109.8 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2713, allocations: 29.7 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.2714, allocations: 88.09 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.2714, allocations: 7.953 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.2714, allocations: 21.7 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2716, allocations: 322.8 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.2716, allocations: 19.98 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.2717, allocations: 48.22 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2719, allocations: 72.2 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2719, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001792/0.2721, allocations: 89.55 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2721, allocations: 8 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2721, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2721, allocations: 8.094 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.2722, allocations: 11.98 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2722, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.2723, allocations: 7.938 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2723, allocations: 7.938 kB / 1.17 GB, free: 2.734 MB / 0.92 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 8.91e-05/0.2724, allocations: 121.8 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2724, allocations: 7.953 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.2724, allocations: 4.344 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2724, allocations: 4 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2724, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2724, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.2728, allocations: 350.4 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2728, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.2729, allocations: 7.984 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2729, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2729, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2729, allocations: 3.938 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2729, allocations: 8 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2732, allocations: 183.4 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.2732, allocations: 77.3 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2732, allocations: 8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.2733, allocations: 11.92 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2734, allocations: 8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2734, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5e-05/0.2734, allocations: 91.27 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2734, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002158/0.2736, allocations: 8 kB / 1.171 GB, free: 1.75 MB / 0.92 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.0005284/0.2742, allocations: 0.7241 MB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.2744, allocations: 55.91 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2744, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.2745, allocations: 27.98 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2747, allocations: 7.922 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2761, allocations: 1.394 MB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2763, allocations: 0.6885 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.2764, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.2764, allocations: 15.91 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.084e-06/0.2764, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.433/3.709, allocations: 1.63 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/14.64, allocations: 13.53 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches