Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002384, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.765/2.765, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] 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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8166, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003629/0.8202, allocations: 1.752 MB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.8221, allocations: 0.9036 MB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.8222, allocations: 5.406 kB / 1.215 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.8224, allocations: 37.84 kB / 1.216 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.8228, allocations: 118.1 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.8232, allocations: 154.9 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.8235, allocations: 240.7 kB / 1.216 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.8237, allocations: 34.84 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.8238, allocations: 120.7 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.8394, allocations: 1.986 MB / 1.218 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.8395, allocations: 22.11 kB / 1.218 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.8397, allocations: 36.45 kB / 1.218 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.8398, allocations: 43.12 kB / 1.218 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.8399, allocations: 99.33 kB / 1.218 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.8405, allocations: 219.2 kB / 1.219 GB, free: 360 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8405, allocations: 0 / 1.219 GB, free: 360 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8405, allocations: 0 / 1.219 GB, free: 360 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.8405, allocations: 0 / 1.219 GB, free: 360 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001086/0.8416, allocations: 0.5629 MB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.8416, allocations: 10.53 kB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.8417, allocations: 41.67 kB / 1.219 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.8418, allocations: 19.28 kB / 1.219 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.8421, allocations: 247.8 kB / 1.219 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8422, allocations: 18.45 kB / 1.219 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.8422, allocations: 14.97 kB / 1.219 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.8425, allocations: 114.2 kB / 1.22 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8425, allocations: 1.125 kB / 1.22 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.8425, allocations: 1.312 kB / 1.22 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.8425, allocations: 1.312 kB / 1.22 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.8426, allocations: 61.52 kB / 1.22 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.8436, allocations: 0.5388 MB / 1.22 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.8438, allocations: 90.41 kB / 1.22 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.8438, allocations: 36.14 kB / 1.22 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.8439, allocations: 17.2 kB / 1.22 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.8441, allocations: 119.1 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.8441, allocations: 0 / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003834/0.8445, allocations: 160.3 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.8445, allocations: 88.39 kB / 1.221 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.8448, allocations: 205.3 kB / 1.221 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.8448, allocations: 33.92 kB / 1.221 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.8449, allocations: 117.9 kB / 1.221 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.845, allocations: 37.08 kB / 1.221 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.8451, allocations: 57.45 kB / 1.221 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8452, allocations: 331.2 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.8453, allocations: 33.95 kB / 1.221 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.8455, allocations: 138.6 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.8457, allocations: 115.5 kB / 1.222 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8457, allocations: 0 / 1.222 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000263/0.846, allocations: 162.1 kB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.846, allocations: 6.031 kB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.846, allocations: 5.062 kB / 1.222 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.846, allocations: 3.25 kB / 1.222 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.8461, allocations: 24.52 kB / 1.222 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.8461, allocations: 2.188 kB / 1.222 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.8463, allocations: 28.53 kB / 1.222 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.8463, allocations: 5.906 kB / 1.222 GB, free: 13.37 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.8465, allocations: 144.5 kB / 1.222 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.8466, allocations: 16.44 kB / 1.222 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.8466, allocations: 17.91 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8466, allocations: 2.281 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8466, allocations: 4 kB / 1.222 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8466, allocations: 5.016 kB / 1.222 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.8473, allocations: 466.9 kB / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8473, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.8473, allocations: 11.17 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8473, allocations: 1.125 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.8473, allocations: 10.09 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8473, allocations: 1.125 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8473, allocations: 5.25 kB / 1.222 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.8476, allocations: 232 kB / 1.223 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.8477, allocations: 97.19 kB / 1.223 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.8477, allocations: 6.094 kB / 1.223 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.8479, allocations: 14.48 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.8479, allocations: 24.31 kB / 1.223 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.848, allocations: 6.281 kB / 1.223 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001507/0.8481, allocations: 137.1 kB / 1.223 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8481, allocations: 3.938 kB / 1.223 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003534/0.8485, allocations: 55.53 kB / 1.223 GB, free: 12.31 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009015/0.8494, allocations: 0.8255 MB / 1.224 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.8496, allocations: 105.7 kB / 1.224 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8496, allocations: 1 kB / 1.224 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8497, allocations: 47.3 kB / 1.224 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.8502, allocations: 58.42 kB / 1.224 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.8526, allocations: 1.932 MB / 1.226 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.853, allocations: 0.7167 MB / 1.227 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.8531, allocations: 30.14 kB / 1.227 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.8532, allocations: 60.69 kB / 1.227 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of SimCode: time 7.12e-07/0.8532, allocations: 0 / 1.227 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.8834, allocations: 5.575 MB / 1.232 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.144, allocations: 4.688 kB / 1.232 GB, free: 4.641 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.337250269018114]