Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008092/0.0008092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008494/0.0008494, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.862/1.862, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.346e-05, allocations: 9.234 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002961/0.002985, allocations: 1.717 MB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.004634, allocations: 0.9083 MB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004749, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.00496, allocations: 35.66 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.005424, allocations: 119.3 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.005823, allocations: 159.6 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.006182, allocations: 251.3 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006332, allocations: 17.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.006584, allocations: 155.6 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008521/0.01511, allocations: 2.015 MB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.01517, allocations: 16 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.01528, allocations: 35.94 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.01535, allocations: 39.83 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.01546, allocations: 75.8 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.01588, allocations: 235.3 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01588, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01588, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.01589, allocations: 4 kB / 1.005 GB, free: 8.27 MB / 0.9636 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.0008174/0.01671, allocations: 494.8 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01675, allocations: 12.69 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.0168, allocations: 42.73 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.01687, allocations: 20.84 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.01715, allocations: 182.9 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.01717, allocations: 12.12 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.0172, allocations: 23.98 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.01739, allocations: 93.61 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.0174, allocations: 3.938 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.01741, allocations: 0 / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.01742, allocations: 3.984 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.01753, allocations: 51.97 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.01823, allocations: 403.5 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.0186, allocations: 130.7 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.01866, allocations: 32.84 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01868, allocations: 4 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.01887, allocations: 106.2 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.01887, allocations: 0 / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003537/0.01922, allocations: 177.6 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.01927, allocations: 55.41 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01945, allocations: 194.8 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.01948, allocations: 33.7 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.01956, allocations: 124.5 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.0196, allocations: 31.75 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.01969, allocations: 61.67 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01979, allocations: 326.8 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.01986, allocations: 35.98 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.02012, allocations: 238.4 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.02026, allocations: 112.1 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02026, allocations: 7.938 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002383/0.0205, allocations: 151.3 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.02052, allocations: 4 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02052, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.02054, allocations: 4 kB / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.0206, allocations: 16.11 kB / 1.008 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.02061, allocations: 7.938 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.02076, allocations: 27.88 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.02077, allocations: 8 kB / 1.008 GB, free: 4.832 MB / 0.9636 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.0001448/0.02091, allocations: 139.8 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.02094, allocations: 19.86 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.02098, allocations: 21.8 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02098, allocations: 0 / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02098, allocations: 4 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02099, allocations: 0 / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.02145, allocations: 457.2 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02145, allocations: 0 / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.02147, allocations: 3.938 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.02147, allocations: 4 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.02148, allocations: 7.984 kB / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02149, allocations: 0 / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02149, allocations: 0 / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.02164, allocations: 230 kB / 1.009 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.02166, allocations: 27.78 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.02167, allocations: 0 / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.02174, allocations: 15.98 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.0218, allocations: 27.94 kB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.02182, allocations: 7.984 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.235e-05/0.02192, allocations: 150.6 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02192, allocations: 0 / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002124/0.02213, allocations: 40 kB / 1.009 GB, free: 3.629 MB / 0.9636 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.0005507/0.02268, allocations: 0.8289 MB / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.02287, allocations: 106.2 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02287, allocations: 0 / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.02293, allocations: 47.92 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.02322, allocations: 60.58 kB / 1.01 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.02466, allocations: 1.893 MB / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.408e-05/0.02474, allocations: 116.5 kB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.647e-05/0.0248, allocations: 25.61 kB / 1.012 GB, free: 432 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.02488, allocations: 60.47 kB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.02489, allocations: 0 / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.0456, allocations: 6.604 MB / 1.019 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.107, allocations: 5.375 kB / 1.019 GB, free: 9.969 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.360752656124532]