Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001572/0.001572, allocations: 103 kB / 16.45 MB, free: 6.445 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.001662/0.001662, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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 2.963/2.963, allocations: 497.2 MB / 0.7812 GB, free: 12.06 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002726/1.087, allocations: 1.746 MB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001285/1.089, allocations: 0.9025 MB / 1.307 GB, free: 30.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/1.089, allocations: 0 / 1.307 GB, free: 30.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/1.089, allocations: 29.19 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/1.089, allocations: 123.6 kB / 1.307 GB, free: 30.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/1.089, allocations: 153.8 kB / 1.307 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/1.09, allocations: 248.6 kB / 1.307 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.09, allocations: 25.53 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/1.09, allocations: 111.6 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01276/1.103, allocations: 1.714 MB / 1.309 GB, free: 29.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/1.103, allocations: 17.12 kB / 1.309 GB, free: 29.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/1.103, allocations: 35.97 kB / 1.309 GB, free: 29.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/1.103, allocations: 46 kB / 1.309 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/1.103, allocations: 87.67 kB / 1.309 GB, free: 29.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/1.103, allocations: 213.8 kB / 1.309 GB, free: 29.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.103, allocations: 3.062 kB / 1.309 GB, free: 29.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/1.103, allocations: 4 kB / 1.309 GB, free: 29.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.103, allocations: 0 / 1.309 GB, free: 29.38 MB / 1.061 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.0007165/1.104, allocations: 0.5565 MB / 1.31 GB, free: 28.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.104, allocations: 11.59 kB / 1.31 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/1.104, allocations: 40.98 kB / 1.31 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/1.104, allocations: 17.59 kB / 1.31 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/1.104, allocations: 249.8 kB / 1.31 GB, free: 28.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.104, allocations: 16.34 kB / 1.31 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/1.105, allocations: 16.47 kB / 1.31 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/1.105, allocations: 97.7 kB / 1.31 GB, free: 28.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.105, allocations: 0 / 1.31 GB, free: 28.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.105, allocations: 2.906 kB / 1.31 GB, free: 28.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.105, allocations: 3.984 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/1.105, allocations: 53.72 kB / 1.31 GB, free: 28.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/1.105, allocations: 466.4 kB / 1.311 GB, free: 28.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/1.106, allocations: 131.2 kB / 1.311 GB, free: 28.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/1.106, allocations: 33.95 kB / 1.311 GB, free: 28.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/1.106, allocations: 2.656 kB / 1.311 GB, free: 28.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/1.106, allocations: 112.7 kB / 1.311 GB, free: 28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/1.106, allocations: 0 / 1.311 GB, free: 28 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0002965/1.106, allocations: 166.6 kB / 1.311 GB, free: 27.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/1.107, allocations: 65.14 kB / 1.311 GB, free: 27.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.107, allocations: 200.5 kB / 1.311 GB, free: 27.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.107, allocations: 35.05 kB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/1.107, allocations: 116.1 kB / 1.312 GB, free: 27.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/1.107, allocations: 44.89 kB / 1.312 GB, free: 27.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/1.107, allocations: 55.27 kB / 1.312 GB, free: 27.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/1.107, allocations: 328.4 kB / 1.312 GB, free: 27.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/1.107, allocations: 35.66 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/1.107, allocations: 128.9 kB / 1.312 GB, free: 27.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/1.107, allocations: 100.4 kB / 1.312 GB, free: 27.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.107, allocations: 0 / 1.312 GB, free: 27.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001957/1.107, allocations: 153.8 kB / 1.312 GB, free: 26.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.107, allocations: 5.875 kB / 1.312 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.107, allocations: 0 / 1.312 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.107, allocations: 2.219 kB / 1.312 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/1.108, allocations: 25.64 kB / 1.312 GB, free: 26.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.108, allocations: 0 / 1.312 GB, free: 26.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/1.108, allocations: 37.22 kB / 1.312 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.108, allocations: 3.062 kB / 1.312 GB, free: 26.91 MB / 1.061 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 9.204e-05/1.108, allocations: 141.6 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/1.108, allocations: 20.05 kB / 1.313 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/1.108, allocations: 20.5 kB / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.108, allocations: 2.719 kB / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.108, allocations: 0 / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.108, allocations: 0 / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/1.108, allocations: 496.6 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.108, allocations: 0 / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/1.108, allocations: 4.469 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.108, allocations: 0 / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.108, allocations: 14.09 kB / 1.313 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.108, allocations: 0 / 1.313 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.108, allocations: 4 kB / 1.313 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/1.109, allocations: 238.6 kB / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/1.109, allocations: 91.81 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/1.109, allocations: 10.75 kB / 1.313 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.109, allocations: 12.33 kB / 1.313 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/1.109, allocations: 23.47 kB / 1.313 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/1.109, allocations: 9.812 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.408e-05/1.109, allocations: 143.8 kB / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.109, allocations: 0 / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002933/1.109, allocations: 50.53 kB / 1.314 GB, free: 25.96 MB / 1.061 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.000574/1.11, allocations: 0.8245 MB / 1.314 GB, free: 25.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002031/1.11, allocations: 100.3 kB / 1.315 GB, free: 25.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.11, allocations: 0 / 1.315 GB, free: 25.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/1.11, allocations: 53.58 kB / 1.315 GB, free: 25.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/1.111, allocations: 49.36 kB / 1.315 GB, free: 25.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.112, allocations: 1.917 MB / 1.317 GB, free: 23.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.112, allocations: 0.718 MB / 1.317 GB, free: 22.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.729e-05/1.112, allocations: 33.11 kB / 1.317 GB, free: 22.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/1.112, allocations: 53.62 kB / 1.317 GB, free: 22.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.112, allocations: 0 / 1.317 GB, free: 22.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/1.142, allocations: 5.619 MB / 1.323 GB, free: 22.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.554, allocations: 3.938 kB / 1.323 GB, free: 22.2 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.973637915216386]