Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.01007/0.01007, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001538/0.001538, allocations: 190.6 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.08 kB / 1.054 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3285, allocations: 157.4 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003572/0.3321, allocations: 1.745 MB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3338, allocations: 0.8894 MB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3339, allocations: 4 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.3341, allocations: 27.72 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.3345, allocations: 123.4 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.3349, allocations: 154.2 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.3353, allocations: 231.5 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3354, allocations: 37.61 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3356, allocations: 111.7 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.3461, allocations: 1.717 MB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3462, allocations: 20 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3464, allocations: 40 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.3465, allocations: 39.88 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3467, allocations: 83.58 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.3472, allocations: 227.2 kB / 1.213 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3472, allocations: 4 kB / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3473, allocations: 0 / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.3473, allocations: 0 / 1.213 GB, free: 5.246 MB / 0.9669 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.00115/0.3484, allocations: 0.5449 MB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3485, allocations: 8.625 kB / 1.213 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.234e-05/0.3486, allocations: 42.73 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.3487, allocations: 24.75 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.349, allocations: 251.7 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3491, allocations: 11.94 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.3491, allocations: 16 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3494, allocations: 90.69 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3494, allocations: 4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3494, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3494, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3496, allocations: 51.97 kB / 1.214 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.3505, allocations: 464.4 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.351, allocations: 138.6 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.351, allocations: 40.84 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3511, allocations: 4 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.3514, allocations: 111.2 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.3514, allocations: 0 / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000398/0.3518, allocations: 179.2 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3519, allocations: 51.41 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3521, allocations: 188.4 kB / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3522, allocations: 37.69 kB / 1.215 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3523, allocations: 124.5 kB / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3523, allocations: 35.55 kB / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3524, allocations: 57.67 kB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3526, allocations: 330.8 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.3527, allocations: 35.98 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3529, allocations: 131.5 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3531, allocations: 100.2 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3531, allocations: 0 / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002686/0.3534, allocations: 155.8 kB / 1.216 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3534, allocations: 4 kB / 1.216 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3534, allocations: 7.922 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3534, allocations: 4 kB / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.3535, allocations: 19.94 kB / 1.216 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3535, allocations: 4 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3538, allocations: 23.83 kB / 1.216 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3538, allocations: 8 kB / 1.216 GB, free: 1.711 MB / 0.9669 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.0001455/0.3539, allocations: 151.6 kB / 1.216 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.354, allocations: 15.81 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.354, allocations: 21.86 kB / 1.216 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.354, allocations: 0 / 1.216 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.354, allocations: 4 kB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3541, allocations: 0 / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.3548, allocations: 492.2 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3548, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.3548, allocations: 11.98 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3548, allocations: 4 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3548, allocations: 3.938 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3549, allocations: 3.938 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3549, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3551, allocations: 227.3 kB / 1.217 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3552, allocations: 92.92 kB / 1.217 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.3552, allocations: 15.88 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3554, allocations: 11.97 kB / 1.217 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.3555, allocations: 19.98 kB / 1.217 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3555, allocations: 11.98 kB / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001227/0.3556, allocations: 140.2 kB / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3556, allocations: 0 / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000326/0.3559, allocations: 51.91 kB / 1.217 GB, free: 372 kB / 0.9669 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.0008104/0.3568, allocations: 0.8331 MB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.357, allocations: 107.7 kB / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.357, allocations: 0 / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3571, allocations: 51.92 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3576, allocations: 60.3 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3599, allocations: 1.909 MB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3602, allocations: 0.7281 MB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000103/0.3604, allocations: 17.55 kB / 1.221 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3605, allocations: 58.41 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3605, allocations: 4 kB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3861, allocations: 5.697 MB / 1.226 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.404, allocations: 7.922 kB / 1.226 GB, free: 6.941 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y