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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 103.6 kB / 16.27 MB, free: 5.961 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.00117/0.00117, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.66 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2714, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002827/0.2743, allocations: 1.474 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.2751, allocations: 446.9 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.2751, allocations: 0 / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.2752, allocations: 11.88 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.2752, allocations: 7.922 kB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2754, allocations: 27.91 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.2755, allocations: 47.86 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.2756, allocations: 11.98 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.2757, allocations: 27.91 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.2758, allocations: 23.86 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2758, allocations: 11.94 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2758, allocations: 4 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.2759, allocations: 7.984 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.2759, allocations: 23.88 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.276, allocations: 48.14 kB / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.276, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.276, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.276, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7325 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.0005444/0.2766, allocations: 410.7 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2767, allocations: 15.97 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.2767, allocations: 8.844 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2768, allocations: 168.3 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2769, allocations: 384 / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2769, allocations: 4.375 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.277, allocations: 65.97 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2771, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2771, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2771, allocations: 3.938 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.2772, allocations: 39.97 kB / 0.9531 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2776, allocations: 276.8 kB / 0.9533 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.2778, allocations: 38.55 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.2779, allocations: 28.94 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2779, allocations: 4 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.2781, allocations: 75.33 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.2781, allocations: 0 / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003656/0.2784, allocations: 105.5 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2785, allocations: 63.39 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.2786, allocations: 113.8 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2786, allocations: 33.64 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.2787, allocations: 88.14 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.2787, allocations: 11.8 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.2788, allocations: 25.7 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2789, allocations: 318.8 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.2789, allocations: 23.98 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.279, allocations: 44.28 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.2792, allocations: 72.2 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2792, allocations: 0 / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001977/0.2794, allocations: 89.55 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2794, allocations: 4 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2794, allocations: 4 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2794, allocations: 0 / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.2795, allocations: 16.14 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.2795, allocations: 0 / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.2796, allocations: 7.906 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2796, allocations: 7.938 kB / 0.9544 GB, free: 4.336 MB / 0.7325 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.043e-05/0.2797, allocations: 127.7 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.2797, allocations: 0 / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2797, allocations: 11.97 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2798, allocations: 3.984 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2798, allocations: 4 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2798, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.2802, allocations: 342.5 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2802, allocations: 0 / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.2802, allocations: 11.92 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2802, allocations: 0 / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2802, allocations: 4 kB / 0.9549 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2803, allocations: 320 / 0.9549 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2803, allocations: 7.938 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2805, allocations: 183.4 kB / 0.9551 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.2806, allocations: 85.39 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2806, allocations: 4 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.2807, allocations: 7.984 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.2807, allocations: 3.938 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2807, allocations: 11.94 kB / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.2808, allocations: 91.27 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2808, allocations: 0 / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002356/0.281, allocations: 8 kB / 0.9553 GB, free: 3.344 MB / 0.7325 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.0001036/0.2811, allocations: 105.9 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.2814, allocations: 56.08 kB / 0.9555 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2814, allocations: 4.125 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.2815, allocations: 27.98 kB / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2818, allocations: 7.984 kB / 0.9555 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2822, allocations: 185.5 kB / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2824, allocations: 0.6922 MB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.2825, allocations: 7.438 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2825, allocations: 0 / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of Templates: time 0.002065/0.2846, allocations: 0.7543 MB / 0.9571 GB, free: 1.449 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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