Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 215.1 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.853/2.853, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 66.62 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003832/0.3531, allocations: 1.743 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3549, allocations: 0.8891 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.355, allocations: 4 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3552, allocations: 35.72 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.3556, allocations: 119.4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.356, allocations: 156.2 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.3564, allocations: 239.4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3565, allocations: 37.66 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3567, allocations: 111.7 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/0.3728, allocations: 1.989 MB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.3729, allocations: 16 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3731, allocations: 35.98 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.3732, allocations: 43.83 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3733, allocations: 83.62 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3738, allocations: 223.1 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3738, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 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.0009491/0.3747, allocations: 488.7 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3748, allocations: 12.03 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.3748, allocations: 42.73 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.3749, allocations: 24.8 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.3753, allocations: 189.5 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3753, allocations: 12 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.3753, allocations: 12 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3756, allocations: 113.2 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3756, allocations: 4 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3756, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3756, allocations: 7.922 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3758, allocations: 63.81 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3768, allocations: 491.7 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.377, allocations: 85.33 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.377, allocations: 41.7 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3771, allocations: 7.938 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.3774, allocations: 113.1 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3774, allocations: 4 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003887/0.3778, allocations: 161.5 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.3779, allocations: 81.11 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3781, allocations: 201.2 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.3781, allocations: 33.7 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3783, allocations: 132.5 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.3783, allocations: 31.73 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3784, allocations: 61.67 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3786, allocations: 330.8 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.3786, allocations: 27.98 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.379, allocations: 267.4 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3792, allocations: 114.7 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3792, allocations: 0 / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000285/0.3795, allocations: 160.1 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3795, allocations: 4.156 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3795, allocations: 8 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3795, allocations: 0 / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.3796, allocations: 19.92 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3796, allocations: 4 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3798, allocations: 27.88 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3798, allocations: 8 kB / 1.291 GB, free: 3.672 MB / 0.9825 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.0001476/0.38, allocations: 143.5 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.38, allocations: 19.86 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.3801, allocations: 17.47 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3801, allocations: 11.98 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3801, allocations: 0 / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3801, allocations: 0 / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.3808, allocations: 421.4 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3808, allocations: 0 / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.3808, allocations: 7.984 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3808, allocations: 0 / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3808, allocations: 7.938 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3808, allocations: 0 / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3808, allocations: 7.938 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3811, allocations: 243.4 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.3811, allocations: 15.91 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3812, allocations: 7.938 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3813, allocations: 11.98 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.3814, allocations: 19.97 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3814, allocations: 7.984 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001417/0.3815, allocations: 155 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003265/0.3819, allocations: 47.94 kB / 1.292 GB, free: 2.469 MB / 0.9825 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.000866/0.3827, allocations: 0.843 MB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.383, allocations: 94.97 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.383, allocations: 0 / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3831, allocations: 43.98 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3835, allocations: 57.17 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.386, allocations: 1.932 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.3861, allocations: 108.1 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.006e-05/0.3862, allocations: 17.64 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3864, allocations: 63.41 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3864, allocations: 0 / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.4244, allocations: 6.435 MB / 1.302 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 3.938 kB / 1.302 GB, free: 8.957 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.77372443396598]