Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009432, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009345/0.0009345, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.905/2.905, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8205, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003491/0.8241, allocations: 1.496 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.8264, allocations: 0.8935 MB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.8267, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.8271, allocations: 23.78 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.8277, allocations: 95.59 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.8284, allocations: 143.7 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.8289, allocations: 195.4 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.8292, allocations: 37.64 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.8294, allocations: 95.69 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005382/0.8348, allocations: 3.127 MB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.8348, allocations: 8 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.835, allocations: 27.94 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.8351, allocations: 39.81 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.8352, allocations: 49.64 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.8354, allocations: 147.6 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.8355, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8355, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8355, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001003/0.8365, allocations: 0.5215 MB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.8366, allocations: 12.55 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.8366, allocations: 19.81 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.837, allocations: 238.7 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.837, allocations: 11.94 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.8371, allocations: 15.98 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.8373, allocations: 89.59 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8373, allocations: 7.984 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.8373, allocations: 4 kB / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8373, allocations: 4 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.8375, allocations: 51.92 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/0.8383, allocations: 480.5 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.8387, allocations: 150.7 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.8388, allocations: 36.84 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.8388, allocations: 4 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.8391, allocations: 107.3 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.8391, allocations: 0 / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003466/0.8394, allocations: 167.3 kB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.8395, allocations: 59.39 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.8397, allocations: 187.4 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.8397, allocations: 33.7 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.8398, allocations: 128.5 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.8399, allocations: 27.56 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.8399, allocations: 4 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.84, allocations: 338.8 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.8401, allocations: 32.36 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.8403, allocations: 125.2 kB / 1.031 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.8404, allocations: 41.5 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8404, allocations: 0 / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002292/0.8406, allocations: 149.3 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8407, allocations: 4 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8407, allocations: 4 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8407, allocations: 7.875 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.8408, allocations: 16.11 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8408, allocations: 8 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.841, allocations: 31.83 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.841, allocations: 8 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.8412, allocations: 143.5 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.8412, allocations: 15.81 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.8412, allocations: 17.88 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8413, allocations: 8 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8413, allocations: 0 / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.8413, allocations: 3.984 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.842, allocations: 0.5002 MB / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.842, allocations: 48 / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.8421, allocations: 15.86 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.8421, allocations: 4 kB / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.8421, allocations: 3.984 kB / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8421, allocations: 0 / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8421, allocations: 0 / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.8424, allocations: 235.2 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.8425, allocations: 96.84 kB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.8425, allocations: 4 kB / 1.033 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8426, allocations: 15.98 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.8427, allocations: 27.95 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.8427, allocations: 4 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001411/0.8429, allocations: 148.2 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8429, allocations: 4 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003127/0.8432, allocations: 40 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004025/0.8436, allocations: 179.1 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.8439, allocations: 103.8 kB / 1.033 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8439, allocations: 0 / 1.033 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.844, allocations: 54.17 kB / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.8444, allocations: 64.06 kB / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.8452, allocations: 338.7 kB / 1.034 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8455, allocations: 0.7243 MB / 1.034 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.8456, allocations: 21.55 kB / 1.034 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.8457, allocations: 23.42 kB / 1.034 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8457, allocations: 0 / 1.034 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.008176/0.8538, allocations: 3.337 MB / 1.038 GB, free: 128 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches