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) 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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005824/0.005824, allocations: 102 kB / 15.73 MB, free: 6.488 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.001263/0.001264, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4004, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003602/0.404, allocations: 1.743 MB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4058, allocations: 0.9085 MB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.4059, allocations: 0 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.4062, allocations: 31.73 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.4066, allocations: 123.4 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.4071, allocations: 147.6 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.4074, allocations: 247.3 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4076, allocations: 41.66 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.4077, allocations: 111.7 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.4199, allocations: 1.986 MB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.42, allocations: 16 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4201, allocations: 39.98 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.4202, allocations: 39.83 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.4204, allocations: 99.53 kB / 1.172 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.4208, allocations: 224 kB / 1.172 GB, free: 2.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4209, allocations: 4 kB / 1.172 GB, free: 2.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4209, allocations: 0 / 1.172 GB, free: 2.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.4209, allocations: 0 / 1.172 GB, free: 2.094 MB / 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.0008406/0.4217, allocations: 0.5527 MB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.4218, allocations: 8.031 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.4218, allocations: 42.73 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.4219, allocations: 24.75 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4222, allocations: 243.2 kB / 1.173 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4222, allocations: 12 kB / 1.173 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.4222, allocations: 15.98 kB / 1.173 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4224, allocations: 113.6 kB / 1.173 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4225, allocations: 3.938 kB / 1.173 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4225, allocations: 4 kB / 1.173 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.4225, allocations: 4 kB / 1.173 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4226, allocations: 58.66 kB / 1.173 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.4235, allocations: 0.5434 MB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.4237, allocations: 97.12 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.4238, allocations: 45.89 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4238, allocations: 7.938 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.4241, allocations: 112.5 kB / 1.174 GB, free: 12 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4241, allocations: 4 kB / 1.174 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0003761/0.4245, allocations: 157.7 kB / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.4245, allocations: 85.09 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.4248, allocations: 202.5 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4248, allocations: 33.7 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.4249, allocations: 124.4 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4249, allocations: 27.61 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.4251, allocations: 61.8 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4252, allocations: 334.8 kB / 1.175 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.4253, allocations: 35.92 kB / 1.175 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.4255, allocations: 133.3 kB / 1.175 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4257, allocations: 114 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4257, allocations: 0 / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002675/0.426, allocations: 161.3 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.426, allocations: 8 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.426, allocations: 0 / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.426, allocations: 4 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.4261, allocations: 19.92 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4261, allocations: 0 / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.4263, allocations: 31.83 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4264, allocations: 4 kB / 1.175 GB, free: 14.38 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.0001328/0.4265, allocations: 151.5 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.4265, allocations: 15.91 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.4266, allocations: 29.34 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4266, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4266, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4266, allocations: 3.984 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.4272, allocations: 469.4 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4272, allocations: 0 / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.4272, allocations: 11.98 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4272, allocations: 0 / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4273, allocations: 15.88 kB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4273, allocations: 0 / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4273, allocations: 0 / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4276, allocations: 236 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.4277, allocations: 88.92 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4277, allocations: 11.94 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4278, allocations: 15.98 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.4279, allocations: 19.97 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4279, allocations: 4 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001255/0.428, allocations: 144.5 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/0.428, allocations: 0 / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003141/0.4284, allocations: 43.98 kB / 1.176 GB, free: 13.04 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.000697/0.4291, allocations: 0.8333 MB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4293, allocations: 95.89 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4293, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.4294, allocations: 51.92 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.4299, allocations: 70.58 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.432, allocations: 1.921 MB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.4324, allocations: 0.7203 MB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.488e-05/0.4325, allocations: 21.53 kB / 1.18 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4326, allocations: 55.41 kB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.4326, allocations: 0 / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.4547, allocations: 5.554 MB / 1.185 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.369, allocations: 5.172 kB / 1.185 GB, free: 3.75 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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