Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001256/0.001257, allocations: 110.7 kB / 16.41 MB, free: 6.438 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.001314/0.001314, allocations: 195.7 kB / 19.36 MB, free: 3.707 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.457/1.457, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7491 GB, free: 3.152 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 1.073 GB, free: 168 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.028, allocations: 159.1 MB / 1.229 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003448/1.031, allocations: 1.741 MB / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001622/1.033, allocations: 0.8978 MB / 1.231 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/1.033, allocations: 0 / 1.231 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/1.033, allocations: 31.66 kB / 1.231 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/1.033, allocations: 119.4 kB / 1.231 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/1.034, allocations: 151.7 kB / 1.231 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/1.034, allocations: 243.4 kB / 1.232 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/1.034, allocations: 47.47 kB / 1.232 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.034, allocations: 107.7 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01295/1.047, allocations: 1.664 MB / 1.233 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/1.047, allocations: 20 kB / 1.234 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/1.048, allocations: 36 kB / 1.234 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/1.048, allocations: 43.83 kB / 1.234 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.048, allocations: 91.56 kB / 1.234 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/1.048, allocations: 223.2 kB / 1.234 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.048, allocations: 4 kB / 1.234 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.864e-06/1.048, allocations: 0 / 1.234 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.048, allocations: 0 / 1.234 GB, free: 15.79 MB / 0.9512 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.0009389/1.049, allocations: 0.5526 MB / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.049, allocations: 8.031 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/1.049, allocations: 42.73 kB / 1.234 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/1.049, allocations: 20.84 kB / 1.235 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/1.05, allocations: 256.5 kB / 1.235 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.05, allocations: 12 kB / 1.235 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/1.05, allocations: 16 kB / 1.235 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.05, allocations: 111.3 kB / 1.235 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.05, allocations: 7.938 kB / 1.235 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.05, allocations: 0 / 1.235 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.05, allocations: 0 / 1.235 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.05, allocations: 55.97 kB / 1.235 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/1.051, allocations: 0.5434 MB / 1.235 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.051, allocations: 97.27 kB / 1.236 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/1.052, allocations: 41.77 kB / 1.236 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/1.052, allocations: 7.938 kB / 1.236 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/1.052, allocations: 121 kB / 1.236 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/1.052, allocations: 4 kB / 1.236 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003695/1.052, allocations: 159.2 kB / 1.236 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/1.052, allocations: 81.11 kB / 1.236 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/1.053, allocations: 200.3 kB / 1.236 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/1.053, allocations: 33.7 kB / 1.236 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.053, allocations: 124.5 kB / 1.236 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/1.053, allocations: 35.72 kB / 1.236 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.053, allocations: 69.69 kB / 1.236 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.053, allocations: 330.8 kB / 1.237 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/1.053, allocations: 31.98 kB / 1.237 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/1.053, allocations: 139 kB / 1.237 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/1.054, allocations: 113.9 kB / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.054, allocations: 0 / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002644/1.054, allocations: 158.5 kB / 1.237 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.054, allocations: 8 kB / 1.237 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.054, allocations: 0 / 1.237 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.054, allocations: 7.938 kB / 1.237 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/1.054, allocations: 19.92 kB / 1.237 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.054, allocations: 0 / 1.237 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/1.054, allocations: 35.88 kB / 1.237 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.054, allocations: 8.094 kB / 1.237 GB, free: 12.04 MB / 0.9512 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.0001503/1.054, allocations: 147.6 kB / 1.237 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/1.055, allocations: 15.91 kB / 1.237 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/1.055, allocations: 29.52 kB / 1.237 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.055, allocations: 0 / 1.237 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.055, allocations: 0 / 1.237 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.055, allocations: 0 / 1.237 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/1.055, allocations: 472.9 kB / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.055, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/1.055, allocations: 8 kB / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.055, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.055, allocations: 7.938 kB / 1.238 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.055, allocations: 0 / 1.238 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.055, allocations: 0 / 1.238 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/1.056, allocations: 232.2 kB / 1.238 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/1.056, allocations: 89.02 kB / 1.238 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/1.056, allocations: 15.94 kB / 1.238 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/1.056, allocations: 15.97 kB / 1.238 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/1.056, allocations: 15.98 kB / 1.238 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/1.056, allocations: 7.984 kB / 1.238 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001357/1.056, allocations: 148.2 kB / 1.238 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.056, allocations: 0 / 1.238 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003207/1.056, allocations: 51.89 kB / 1.238 GB, free: 10.71 MB / 0.9512 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.0009123/1.057, allocations: 0.836 MB / 1.239 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000278/1.058, allocations: 107.8 kB / 1.239 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.058, allocations: 3.938 kB / 1.239 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/1.058, allocations: 43.92 kB / 1.239 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/1.058, allocations: 72.91 kB / 1.239 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/1.06, allocations: 1.931 MB / 1.241 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/1.061, allocations: 0.7203 MB / 1.242 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.119e-05/1.061, allocations: 29.47 kB / 1.242 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.061, allocations: 55.41 kB / 1.242 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/1.061, allocations: 0 / 1.242 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.092, allocations: 5.523 MB / 1.248 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.506, allocations: 13.69 kB / 1.248 GB, free: 1.41 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.646904907887802]