Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 108.4 kB / 16.37 MB, free: 6.465 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.001743/0.001743, allocations: 193.1 kB / 17.31 MB, free: 5.816 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 / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.4/2.4, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 69.39 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2664, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002565/0.269, allocations: 1.513 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2702, allocations: 0.7478 MB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.2702, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.2703, allocations: 7.922 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.2703, allocations: 11.88 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.2708, allocations: 131.6 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.271, allocations: 95.69 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.2711, allocations: 12 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.2711, allocations: 39.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.2712, allocations: 47.81 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2712, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2714, allocations: 95.91 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.2715, allocations: 19.92 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.2715, allocations: 43.8 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.2717, allocations: 159.5 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2718, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2718, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.2718, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 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.0005869/0.2724, allocations: 454.6 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2724, allocations: 8.75 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.2725, allocations: 8.844 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2726, allocations: 176.3 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2726, allocations: 8.359 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.2726, allocations: 12.31 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.2729, allocations: 89.89 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2729, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2729, allocations: 3.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2729, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.2731, allocations: 55.95 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.2736, allocations: 332.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2738, allocations: 70.55 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2739, allocations: 40.84 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2739, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.2741, allocations: 99.39 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.2741, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000469/0.2746, allocations: 185.5 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2746, allocations: 59.41 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.2747, allocations: 121.8 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2748, allocations: 29.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.2748, allocations: 100.3 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2749, allocations: 15.81 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.2749, allocations: 41.64 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.275, allocations: 322.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.2751, allocations: 23.98 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2752, allocations: 77.98 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2754, allocations: 110.2 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2754, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002528/0.2757, allocations: 133.4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2757, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2757, allocations: 7.922 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2757, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.2758, allocations: 19.92 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2758, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.2759, allocations: 16.06 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2759, allocations: 7.984 kB / 1.032 GB, free: 12.26 MB / 0.8106 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 9.195e-05/0.276, allocations: 127.1 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.2761, allocations: 15.84 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2761, allocations: 4.375 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2761, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2761, allocations: 4 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2761, allocations: 7.984 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.2767, allocations: 430.5 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2767, allocations: 3.938 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.2767, allocations: 4 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2767, allocations: 4 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2768, allocations: 3.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2768, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2768, allocations: 3.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.2771, allocations: 251.3 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2772, allocations: 85 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2772, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.2773, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.2773, allocations: 15.92 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2774, allocations: 8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.2774, allocations: 99.27 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2774, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003134/0.2778, allocations: 43.98 kB / 1.033 GB, free: 11.07 MB / 0.8106 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.0003106/0.2781, allocations: 176.7 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.2783, allocations: 95.89 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2784, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2785, allocations: 51.91 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2788, allocations: 11.98 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.2792, allocations: 196.3 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2794, allocations: 0.6926 MB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.2795, allocations: 4 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2795, allocations: 11.44 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.2795, allocations: 0 / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.004418/0.2839, allocations: 1.705 MB / 1.036 GB, free: 8.105 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches