Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.007314/0.007314, allocations: 99.64 kB / 15.73 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.001185/0.001185, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.342, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003703/0.3458, allocations: 1.737 MB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3476, allocations: 0.9011 MB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.3478, allocations: 0 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.3482, allocations: 27.73 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.3487, allocations: 123.3 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3491, allocations: 153.6 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.3495, allocations: 251.3 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3497, allocations: 29.67 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3499, allocations: 115.7 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.36, allocations: 1.667 MB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3601, allocations: 16 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.3604, allocations: 39.98 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3605, allocations: 35.91 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3607, allocations: 99.48 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.3613, allocations: 223.2 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3613, allocations: 0 / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3613, allocations: 4 kB / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.3613, allocations: 0 / 1.213 GB, free: 5.215 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001052/0.3624, allocations: 0.5527 MB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3624, allocations: 8.625 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/0.3625, allocations: 46.73 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3626, allocations: 20.75 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.363, allocations: 251.7 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.363, allocations: 15.98 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3631, allocations: 12 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3633, allocations: 116.5 kB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3633, allocations: 0 / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3633, allocations: 4 kB / 1.214 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3634, allocations: 4 kB / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3635, allocations: 50.62 kB / 1.214 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.3644, allocations: 0.5395 MB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3646, allocations: 101.2 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.3647, allocations: 37.77 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3647, allocations: 11.94 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.365, allocations: 115.5 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/0.3651, allocations: 3.984 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003896/0.3655, allocations: 169 kB / 1.215 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3656, allocations: 85.11 kB / 1.215 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3658, allocations: 204.2 kB / 1.215 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.3659, allocations: 33.7 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.366, allocations: 116.5 kB / 1.215 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.366, allocations: 35.5 kB / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3662, allocations: 61.66 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3663, allocations: 334.9 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.3664, allocations: 35.98 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3667, allocations: 139.1 kB / 1.216 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.3669, allocations: 113.9 kB / 1.216 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3669, allocations: 0 / 1.216 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000272/0.3672, allocations: 161.5 kB / 1.216 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3672, allocations: 12.03 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3672, allocations: 0 / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3672, allocations: 4 kB / 1.216 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3673, allocations: 19.92 kB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.3674, allocations: 4 kB / 1.216 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.3676, allocations: 31.83 kB / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3676, allocations: 4 kB / 1.216 GB, free: 1.477 MB / 0.9669 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.0001343/0.3678, allocations: 147.5 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3678, allocations: 19.81 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3679, allocations: 17.53 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3679, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3679, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.3679, allocations: 7.984 kB / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.3685, allocations: 466.1 kB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3685, allocations: 0 / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.3686, allocations: 7.984 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3686, allocations: 8 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3686, allocations: 7.938 kB / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3686, allocations: 0 / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3686, allocations: 0 / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3688, allocations: 224.1 kB / 1.217 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.3689, allocations: 104.8 kB / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3689, allocations: 3.938 kB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3691, allocations: 19.98 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.3692, allocations: 19.97 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3692, allocations: 4 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001374/0.3694, allocations: 144.2 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3694, allocations: 0 / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003228/0.3697, allocations: 47.98 kB / 1.217 GB, free: 156 kB / 0.9669 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.0008298/0.3705, allocations: 0.8211 MB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3708, allocations: 114.3 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3708, allocations: 0 / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3709, allocations: 47.92 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.3714, allocations: 66.59 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3737, allocations: 1.925 MB / 1.22 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.374, allocations: 0.7242 MB / 1.221 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.51e-05/0.3741, allocations: 21.53 kB / 1.221 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.3742, allocations: 55.42 kB / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.3742, allocations: 0 / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.3988, allocations: 5.636 MB / 1.226 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.46, allocations: 14.19 kB / 1.226 GB, free: 6.758 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y