Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.00194/0.00194, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0017/0.0017, allocations: 214.1 kB / 22.25 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.992 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.849/2.849, allocations: 476.8 MB / 0.7707 GB, free: 4.293 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002114/0.002114, allocations: 68.95 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3345, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003767/0.3382, allocations: 1.769 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3402, allocations: 0.9514 MB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.3404, allocations: 3.938 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3406, allocations: 35.72 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.3412, allocations: 123.4 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3417, allocations: 153.2 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.3421, allocations: 247.4 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3422, allocations: 25.31 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3425, allocations: 123.6 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01693/0.3594, allocations: 2.032 MB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.3595, allocations: 16 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.3597, allocations: 39.97 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.3598, allocations: 43.78 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.3599, allocations: 91.56 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.3605, allocations: 215.2 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3605, allocations: 7.938 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3605, allocations: 0 / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3605, allocations: 0 / 1.289 GB, free: 6.309 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001048/0.3615, allocations: 496.7 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3616, allocations: 8.031 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.3616, allocations: 46.73 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3617, allocations: 24.8 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3621, allocations: 185.6 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.3621, allocations: 15.94 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3622, allocations: 8 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3624, allocations: 95.19 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3624, allocations: 0 / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3624, allocations: 4 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3624, allocations: 4 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3626, allocations: 51.95 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.3635, allocations: 439.4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.3639, allocations: 130.6 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.364, allocations: 32.84 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.364, allocations: 0 / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003566/0.3644, allocations: 119.3 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3644, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003939/0.3648, allocations: 165.6 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3648, allocations: 63.34 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.365, allocations: 193.3 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.3651, allocations: 37.64 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3652, allocations: 128.4 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3652, allocations: 31.8 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3653, allocations: 57.67 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3655, allocations: 330.8 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.3656, allocations: 35.98 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3659, allocations: 127.6 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.366, allocations: 102.2 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.366, allocations: 0 / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002887/0.3663, allocations: 153.4 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3663, allocations: 10.66 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3663, allocations: 0 / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3663, allocations: 4 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.3664, allocations: 15.94 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3664, allocations: 128 / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3666, allocations: 35.86 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3667, allocations: 4 kB / 1.292 GB, free: 2.969 MB / 0.9825 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.0001709/0.3668, allocations: 143.5 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3669, allocations: 19.86 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.3669, allocations: 21.8 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3669, allocations: 0 / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3669, allocations: 0 / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3669, allocations: 4 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.3677, allocations: 479.8 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3677, allocations: 0 / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.3678, allocations: 7.984 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3678, allocations: 0 / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3678, allocations: 3.938 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3678, allocations: 4 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3678, allocations: 0 / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3681, allocations: 239.3 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3681, allocations: 15.84 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3681, allocations: 3.938 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3683, allocations: 15.98 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.3683, allocations: 24 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.3684, allocations: 7.984 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001507/0.3685, allocations: 151 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 4 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003261/0.3689, allocations: 40 kB / 1.293 GB, free: 1.734 MB / 0.9825 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.0009753/0.3698, allocations: 0.8297 MB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3701, allocations: 95.84 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.3701, allocations: 4.25 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3702, allocations: 55.89 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3707, allocations: 55.56 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3731, allocations: 1.901 MB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3735, allocations: 0.7164 MB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000101/0.3736, allocations: 29.61 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3737, allocations: 55.41 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3737, allocations: 4 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4126, allocations: 5.789 MB / 1.303 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.66, allocations: 10.45 kB / 1.303 GB, free: 8.254 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.569257664028555]