Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001929/0.001929, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002378/0.002378, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002098/0.002098, allocations: 64.72 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003464/0.3692, allocations: 1.758 MB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3711, allocations: 0.9474 MB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3712, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3714, allocations: 23.73 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.3718, allocations: 123.4 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.3722, allocations: 156.6 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.3725, allocations: 243.4 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3726, allocations: 29.89 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3728, allocations: 115.7 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.3867, allocations: 1.7 MB / 1.326 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-05/0.3868, allocations: 23.94 kB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.387, allocations: 39.98 kB / 1.326 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3871, allocations: 35.84 kB / 1.326 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3873, allocations: 87.56 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.3877, allocations: 223.1 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3877, allocations: 0 / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3877, allocations: 4 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.3877, allocations: 0 / 1.326 GB, free: 14.27 MB / 1.029 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.0009585/0.3887, allocations: 0.5525 MB / 1.327 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3888, allocations: 11.98 kB / 1.327 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.3888, allocations: 46.73 kB / 1.327 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.3889, allocations: 24.8 kB / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3892, allocations: 251.3 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3892, allocations: 8 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.3892, allocations: 16 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3894, allocations: 89.64 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3895, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3895, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3895, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3896, allocations: 55.91 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.3905, allocations: 472.3 kB / 1.328 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.391, allocations: 130.7 kB / 1.328 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.3911, allocations: 32.86 kB / 1.328 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3911, allocations: 0 / 1.328 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.3914, allocations: 115.2 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3914, allocations: 0 / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003686/0.3917, allocations: 180.9 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3918, allocations: 51.41 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.392, allocations: 194.8 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.392, allocations: 33.7 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3921, allocations: 120.5 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3922, allocations: 39.72 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3923, allocations: 57.67 kB / 1.329 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3925, allocations: 330.8 kB / 1.329 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.3925, allocations: 35.98 kB / 1.329 GB, free: 11.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.3928, allocations: 123.6 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.393, allocations: 108.1 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.393, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003001/0.3933, allocations: 152.3 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3933, allocations: 4 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3933, allocations: 4 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3933, allocations: 0 / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.3934, allocations: 20.06 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3934, allocations: 11.98 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3936, allocations: 27.88 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3936, allocations: 7.984 kB / 1.329 GB, free: 10.73 MB / 1.029 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.0001522/0.3938, allocations: 141.2 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.3938, allocations: 15.91 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.3939, allocations: 21.91 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3939, allocations: 7.984 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3939, allocations: 4 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3939, allocations: 0 / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.3947, allocations: 490.2 kB / 1.33 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3947, allocations: 0 / 1.33 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.3947, allocations: 8 kB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3947, allocations: 4 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3947, allocations: 3.938 kB / 1.33 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3947, allocations: 3.938 kB / 1.33 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3947, allocations: 7.938 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.395, allocations: 235.2 kB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3951, allocations: 93 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3951, allocations: 11.94 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3952, allocations: 7.984 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.3953, allocations: 23.97 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3953, allocations: 8 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3955, allocations: 144.2 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3955, allocations: 0 / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000324/0.3958, allocations: 47.94 kB / 1.331 GB, free: 9.371 MB / 1.029 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.0009547/0.3968, allocations: 0.8349 MB / 1.331 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.397, allocations: 103.8 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.397, allocations: 0 / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3971, allocations: 51.91 kB / 1.332 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3976, allocations: 52.66 kB / 1.332 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.4, allocations: 1.923 MB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4004, allocations: 0.7242 MB / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.699e-05/0.4005, allocations: 25.52 kB / 1.334 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4006, allocations: 51.42 kB / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4006, allocations: 0 / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.4331, allocations: 5.608 MB / 1.34 GB, free: 52 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.885, allocations: 19.78 kB / 1.34 GB, free: 32 kB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.597683863015845]