Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.004913/0.004913, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001162/0.001162, allocations: 189.1 kB / 16.67 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.449/2.449, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 63.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7524, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003107/0.7555, allocations: 1.736 MB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.7571, allocations: 0.9045 MB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.7573, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.7575, allocations: 35.7 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.7579, allocations: 123.4 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.7583, allocations: 150.3 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.7586, allocations: 239.4 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.7588, allocations: 37.66 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.759, allocations: 111.7 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.7714, allocations: 2.03 MB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.7715, allocations: 16 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.7717, allocations: 43.92 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.7718, allocations: 39.84 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.7719, allocations: 95.55 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.7723, allocations: 219.2 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7723, allocations: 3.938 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7723, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.7723, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 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.0008511/0.7732, allocations: 0.545 MB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7732, allocations: 12.92 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.7733, allocations: 38.75 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.7734, allocations: 24.64 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.7736, allocations: 239.9 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.7737, allocations: 12 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.7737, allocations: 12 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.7739, allocations: 99.7 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7739, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.774, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.774, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.7741, allocations: 55.91 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.7749, allocations: 464.3 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.7754, allocations: 146.6 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.7755, allocations: 32.84 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.7755, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.7758, allocations: 107.3 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.7758, allocations: 7.938 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003469/0.7762, allocations: 160.4 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7762, allocations: 63.39 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.7764, allocations: 196 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.7765, allocations: 33.7 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.7766, allocations: 132.4 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.7766, allocations: 31.62 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.7767, allocations: 53.67 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7769, allocations: 326.8 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.777, allocations: 35.98 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.7772, allocations: 133.2 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.7774, allocations: 100.1 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7774, allocations: 0 / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002457/0.7776, allocations: 155.8 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7777, allocations: 15.88 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7777, allocations: 0 / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7777, allocations: 4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.7778, allocations: 15.98 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7778, allocations: 4 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.778, allocations: 19.92 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.778, allocations: 12 kB / 1.175 GB, free: 11 MB / 0.9044 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.0001287/0.7781, allocations: 143.6 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.7782, allocations: 27.72 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.7782, allocations: 13.88 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7782, allocations: 4 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7783, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7783, allocations: 3.984 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.7789, allocations: 498 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7789, allocations: 4 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.779, allocations: 7.938 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.779, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.779, allocations: 11.92 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.779, allocations: 4 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.779, allocations: 0 / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.7792, allocations: 227.2 kB / 1.176 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.7793, allocations: 92.86 kB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.7793, allocations: 11.94 kB / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.7795, allocations: 11.98 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.7796, allocations: 19.97 kB / 1.176 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.7796, allocations: 8 kB / 1.176 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001195/0.7797, allocations: 140.5 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7797, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003125/0.78, allocations: 47.98 kB / 1.176 GB, free: 9.641 MB / 0.9044 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.0007358/0.7808, allocations: 0.8336 MB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.781, allocations: 109 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.781, allocations: 4 kB / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.7811, allocations: 51.92 kB / 1.177 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.7816, allocations: 63.28 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.7836, allocations: 1.888 MB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.7839, allocations: 0.7203 MB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.329e-05/0.784, allocations: 21.55 kB / 1.18 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.7841, allocations: 55.41 kB / 1.18 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.7841, allocations: 4 kB / 1.18 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.8076, allocations: 5.611 MB / 1.185 GB, free: 332 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/9.05, allocations: 3.859 kB / 1.185 GB, free: 328 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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