Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_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.007317/0.007318, allocations: 99.66 kB / 15.73 MB, free: 6.051 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.001267/0.001267, allocations: 186 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.829/2.829, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003185/0.3615, allocations: 1.731 MB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3632, allocations: 0.9046 MB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.995e-05/0.3633, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3635, allocations: 39.72 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.3639, allocations: 127.3 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.3643, allocations: 147.2 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.3646, allocations: 243.4 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3648, allocations: 45.66 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3649, allocations: 111.7 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009876/0.3748, allocations: 1.66 MB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.3749, allocations: 16 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.375, allocations: 32 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.3751, allocations: 47.83 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3753, allocations: 87.56 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3757, allocations: 232 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3757, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3757, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3757, allocations: 0 / 1.171 GB, free: 2.297 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.0008674/0.3766, allocations: 0.5527 MB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3766, allocations: 12.02 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.3767, allocations: 38.75 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.3768, allocations: 20.75 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3771, allocations: 255.1 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3771, allocations: 8 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.3772, allocations: 16 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3774, allocations: 111.3 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3774, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3774, allocations: 8 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3774, allocations: 4 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3775, allocations: 51.97 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.3784, allocations: 0.5434 MB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3786, allocations: 101.2 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.3787, allocations: 45.77 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3787, allocations: 3.938 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.379, allocations: 117.1 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3791, allocations: 0 / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0003143/0.3794, allocations: 157.6 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.3795, allocations: 85.05 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3797, allocations: 206.4 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3797, allocations: 33.7 kB / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.3798, allocations: 128.5 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3799, allocations: 31.61 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.38, allocations: 57.67 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3801, allocations: 326.8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.3802, allocations: 31.98 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3804, allocations: 143.6 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3806, allocations: 113.9 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3806, allocations: 4 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002434/0.3808, allocations: 165 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3809, allocations: 6.188 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3809, allocations: 0 / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3809, allocations: 7.938 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.381, allocations: 15.94 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.381, allocations: 4 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3812, allocations: 35.97 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3812, allocations: 4 kB / 1.175 GB, free: 14.57 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.0001222/0.3814, allocations: 143.5 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.3814, allocations: 15.81 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.3815, allocations: 21.52 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3815, allocations: 0 / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3815, allocations: 4 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3815, allocations: 0 / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.382, allocations: 470.2 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3821, allocations: 4 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.3821, allocations: 4 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3821, allocations: 4 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3821, allocations: 3.938 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3821, allocations: 7.984 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3821, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.3824, allocations: 236 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.3824, allocations: 92.91 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3824, allocations: 3.938 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3826, allocations: 19.98 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.3827, allocations: 19.97 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3827, allocations: 8 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001128/0.3828, allocations: 140.5 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3828, allocations: 4 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000303/0.3831, allocations: 40 kB / 1.176 GB, free: 13.25 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.0007313/0.3839, allocations: 0.8357 MB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3841, allocations: 103.5 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3841, allocations: 3.938 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3842, allocations: 51.92 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3847, allocations: 57.88 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.3868, allocations: 1.937 MB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3872, allocations: 0.7203 MB / 1.18 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.758e-05/0.3873, allocations: 21.53 kB / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3874, allocations: 63.41 kB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.3874, allocations: 0 / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.4096, allocations: 5.544 MB / 1.185 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.466, allocations: 12.91 kB / 1.185 GB, free: 3.934 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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