Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.004309/0.004309, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001178/0.001178, allocations: 199.1 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 71.88 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3755, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003394/0.3789, allocations: 1.746 MB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3806, allocations: 0.8891 MB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/0.3807, allocations: 0 / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.3809, allocations: 31.72 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.3813, allocations: 119.4 kB / 1.245 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3817, allocations: 151.6 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.382, allocations: 247.3 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3822, allocations: 41.64 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3823, allocations: 111.7 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/0.3977, allocations: 2.028 MB / 1.247 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.3979, allocations: 16 kB / 1.247 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.398, allocations: 39.98 kB / 1.247 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.3981, allocations: 39.89 kB / 1.247 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3982, allocations: 91.56 kB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.3987, allocations: 219.1 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3987, allocations: 4 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3987, allocations: 3.984 kB / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3987, allocations: 0 / 1.247 GB, free: 4.609 MB / 0.9981 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.0008503/0.3996, allocations: 0.5487 MB / 1.248 GB, free: 4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3996, allocations: 15.97 kB / 1.248 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.3996, allocations: 38.75 kB / 1.248 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.3997, allocations: 20.8 kB / 1.248 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.4, allocations: 255.3 kB / 1.248 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4, allocations: 12 kB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4001, allocations: 15.94 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4003, allocations: 95.36 kB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4003, allocations: 0 / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4003, allocations: 0 / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4003, allocations: 7.984 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4004, allocations: 51.97 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.4012, allocations: 464.4 kB / 1.249 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.4017, allocations: 142.7 kB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.4017, allocations: 32.84 kB / 1.249 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4018, allocations: 0 / 1.249 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.402, allocations: 115.4 kB / 1.249 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.402, allocations: 4 kB / 1.249 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003436/0.4024, allocations: 157.5 kB / 1.249 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4024, allocations: 63.41 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4026, allocations: 204.6 kB / 1.25 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.4027, allocations: 33.7 kB / 1.25 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.4028, allocations: 116.5 kB / 1.25 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.4028, allocations: 43.72 kB / 1.25 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.4029, allocations: 53.67 kB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4031, allocations: 326.8 kB / 1.25 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.4031, allocations: 35.98 kB / 1.25 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.4034, allocations: 130.4 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4035, allocations: 104.2 kB / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4035, allocations: 0 / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002419/0.4038, allocations: 155.9 kB / 1.251 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4038, allocations: 8 kB / 1.251 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4038, allocations: 0 / 1.251 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4038, allocations: 3.938 kB / 1.251 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.4039, allocations: 23.92 kB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4039, allocations: 4 kB / 1.251 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4041, allocations: 36 kB / 1.251 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4042, allocations: 4 kB / 1.251 GB, free: 1.059 MB / 0.9981 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,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001314/0.4043, allocations: 144 kB / 1.251 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.4043, allocations: 15.91 kB / 1.251 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.4044, allocations: 21.81 kB / 1.251 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4044, allocations: 4 kB / 1.251 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4044, allocations: 0 / 1.251 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4044, allocations: 3.984 kB / 1.251 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.4051, allocations: 497.1 kB / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4051, allocations: 0 / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.4051, allocations: 4 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.4051, allocations: 0 / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4052, allocations: 11.92 kB / 1.251 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4052, allocations: 4 kB / 1.251 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4052, allocations: 0 / 1.251 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4054, allocations: 235.3 kB / 1.252 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6316/1.037, allocations: 88.12 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/1.037, allocations: 5.938 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.037, allocations: 13.92 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.037, allocations: 22.73 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/1.037, allocations: 7.359 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001611/1.038, allocations: 138.6 kB / 1.252 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.038, allocations: 1.969 kB / 1.252 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004605/1.038, allocations: 50.41 kB / 1.252 GB, free: 14.79 MB / 0.9981 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 (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.0006937/1.039, allocations: 0.8308 MB / 1.253 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002431/1.039, allocations: 99.91 kB / 1.253 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.039, allocations: 0.5625 kB / 1.253 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/1.039, allocations: 55.38 kB / 1.253 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/1.04, allocations: 64.17 kB / 1.253 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/1.041, allocations: 1.889 MB / 1.255 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/1.041, allocations: 0.7227 MB / 1.255 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00011/1.042, allocations: 26.47 kB / 1.255 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/1.042, allocations: 55.48 kB / 1.256 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.042, allocations: 0.75 kB / 1.256 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4061/1.448, allocations: 5.613 MB / 1.261 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/10.01, allocations: 1.031 kB / 1.261 GB, free: 11.52 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches