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.002012/0.002012, 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.002591/0.002591, allocations: 216 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.781 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.24/3.24, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002143/0.002143, allocations: 63.44 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3283, allocations: 176.1 MB / 1.325 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003873/0.3322, allocations: 1.727 MB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.334, allocations: 0.9047 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.334, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.3342, allocations: 19.73 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3346, allocations: 123.4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.335, allocations: 158.9 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3353, allocations: 243.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3355, allocations: 33.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3356, allocations: 115.6 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01394/0.3496, allocations: 1.701 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.3497, allocations: 20 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3498, allocations: 43.88 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.3499, allocations: 39.89 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.35, allocations: 75.62 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.3504, allocations: 219.2 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3504, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3504, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3504, allocations: 4 kB / 1.33 GB, free: 13.46 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.0009339/0.3514, allocations: 488.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3514, allocations: 12.03 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.3515, allocations: 34.75 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3516, allocations: 28.78 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.3519, allocations: 189.5 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3519, allocations: 12 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.3519, allocations: 16 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3521, allocations: 89.66 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3522, allocations: 3.984 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3522, allocations: 3.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3522, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3523, allocations: 51.97 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.3531, allocations: 399.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3536, allocations: 130.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.3537, allocations: 36.84 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3537, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.354, allocations: 111.2 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.354, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003928/0.3544, allocations: 169.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3544, allocations: 59.41 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3547, allocations: 199.1 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.3547, allocations: 33.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3548, allocations: 120.5 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3549, allocations: 39.72 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.355, allocations: 57.67 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3552, allocations: 326.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.3552, allocations: 31.98 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.3556, allocations: 238.4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3558, allocations: 110.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3558, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002981/0.3561, allocations: 157.3 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3561, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3561, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3561, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.3562, allocations: 19.92 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3562, allocations: 8.125 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.3564, allocations: 23.92 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3564, allocations: 4 kB / 1.333 GB, free: 10.04 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.0001523/0.3566, allocations: 140 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.3566, allocations: 23.84 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.3567, allocations: 17.81 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3567, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3567, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3567, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.3574, allocations: 457.3 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3574, allocations: 4 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.3574, allocations: 4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3574, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3575, allocations: 7.938 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3575, allocations: 7.938 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3575, allocations: 0 / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3577, allocations: 242.5 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3578, allocations: 11.91 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3578, allocations: 15.94 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3579, allocations: 11.97 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.358, allocations: 23.91 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.358, allocations: 8 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00015/0.3582, allocations: 140.5 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003137/0.3585, allocations: 47.98 kB / 1.335 GB, free: 8.816 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.0009232/0.3594, allocations: 0.838 MB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3597, allocations: 103.8 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3597, allocations: 0 / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3598, allocations: 47.92 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3602, allocations: 61.28 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.3626, allocations: 1.911 MB / 1.337 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3627, allocations: 112.4 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.705e-05/0.3628, allocations: 25.56 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3629, allocations: 55.41 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.3629, allocations: 0 / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.3998, allocations: 6.484 MB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 9.766 kB / 1.344 GB, free: 15.26 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.83089459501207]