Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.274/3.274, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 74.97 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003397/0.3624, allocations: 1.739 MB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3641, allocations: 0.9046 MB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.3641, allocations: 0 / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3644, allocations: 35.7 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.3648, allocations: 123.4 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.3652, allocations: 150.8 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.3655, allocations: 255.3 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3657, allocations: 33.94 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3658, allocations: 107.7 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.3794, allocations: 1.671 MB / 1.309 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/0.3795, allocations: 20 kB / 1.309 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3796, allocations: 35.98 kB / 1.309 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.3797, allocations: 39.83 kB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3799, allocations: 87.58 kB / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3803, allocations: 227 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3803, allocations: 0 / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3803, allocations: 0 / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.3803, allocations: 0 / 1.309 GB, free: 12.55 MB / 1.014 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.0009999/0.3813, allocations: 0.5682 MB / 1.31 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3814, allocations: 8.625 kB / 1.31 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.3814, allocations: 38.75 kB / 1.31 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.3815, allocations: 20.8 kB / 1.31 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.3819, allocations: 252.2 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3819, allocations: 12 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.382, allocations: 16 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3822, allocations: 108.7 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3822, allocations: 4 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3822, allocations: 11.92 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3822, allocations: 0 / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3824, allocations: 51.97 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.3833, allocations: 0.5473 MB / 1.311 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3835, allocations: 93.25 kB / 1.311 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.3836, allocations: 33.77 kB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3836, allocations: 7.938 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.3839, allocations: 121.1 kB / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3839, allocations: 0 / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0004039/0.3843, allocations: 157.5 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3844, allocations: 81.09 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3846, allocations: 207.2 kB / 1.311 GB, free: 9.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.3847, allocations: 37.7 kB / 1.312 GB, free: 9.941 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3848, allocations: 128.4 kB / 1.312 GB, free: 9.812 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3848, allocations: 35.69 kB / 1.312 GB, free: 9.777 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3849, allocations: 57.67 kB / 1.312 GB, free: 9.715 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3851, allocations: 326.8 kB / 1.312 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3852, allocations: 31.98 kB / 1.312 GB, free: 9.355 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3855, allocations: 141.3 kB / 1.312 GB, free: 9.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3857, allocations: 117.9 kB / 1.312 GB, free: 9.047 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3857, allocations: 0 / 1.312 GB, free: 9.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002944/0.386, allocations: 163.7 kB / 1.312 GB, free: 8.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.386, allocations: 7.938 kB / 1.312 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.386, allocations: 0 / 1.312 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.386, allocations: 4 kB / 1.312 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3861, allocations: 15.94 kB / 1.312 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3861, allocations: 12.08 kB / 1.313 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3863, allocations: 31.88 kB / 1.313 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3863, allocations: 4 kB / 1.313 GB, free: 8.809 MB / 1.014 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.0001558/0.3865, allocations: 147.5 kB / 1.313 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3865, allocations: 19.86 kB / 1.313 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.3866, allocations: 21.52 kB / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3866, allocations: 0 / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3866, allocations: 8 kB / 1.313 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3866, allocations: 4 kB / 1.313 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.3873, allocations: 462.3 kB / 1.313 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3873, allocations: 4 kB / 1.313 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.3873, allocations: 4 kB / 1.313 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3873, allocations: 4 kB / 1.313 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3873, allocations: 7.922 kB / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3873, allocations: 0 / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3873, allocations: 4 kB / 1.313 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3876, allocations: 233.2 kB / 1.313 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.3877, allocations: 96.95 kB / 1.314 GB, free: 7.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3877, allocations: 7.938 kB / 1.314 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3879, allocations: 11.98 kB / 1.314 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.3879, allocations: 19.97 kB / 1.314 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.388, allocations: 8 kB / 1.314 GB, free: 7.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3881, allocations: 148.2 kB / 1.314 GB, free: 7.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 1.314 GB, free: 7.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000323/0.3884, allocations: 43.94 kB / 1.314 GB, free: 7.477 MB / 1.014 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.0009076/0.3893, allocations: 0.8355 MB / 1.315 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3896, allocations: 99.84 kB / 1.315 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3896, allocations: 0 / 1.315 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3897, allocations: 47.97 kB / 1.315 GB, free: 6.492 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3901, allocations: 56.52 kB / 1.315 GB, free: 6.441 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.3926, allocations: 1.942 MB / 1.317 GB, free: 4.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.3931, allocations: 0.7203 MB / 1.317 GB, free: 3.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.933e-05/0.3932, allocations: 21.55 kB / 1.317 GB, free: 3.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3933, allocations: 67.34 kB / 1.317 GB, free: 3.539 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/0.3933, allocations: 0 / 1.317 GB, free: 3.539 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.4275, allocations: 5.564 MB / 1.323 GB, free: 14.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/8.975, allocations: 14.55 kB / 1.323 GB, free: 14.14 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 15.764309667050838]