Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 195.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 63.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6252, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003146/0.6284, allocations: 1.731 MB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.6299, allocations: 0.9046 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.6301, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.6303, allocations: 31.73 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.6307, allocations: 107.4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.6311, allocations: 151.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.6314, allocations: 243.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.6315, allocations: 37.56 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.6317, allocations: 115.6 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.6436, allocations: 2.011 MB / 1.023 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.6437, allocations: 23.98 kB / 1.023 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.6438, allocations: 32 kB / 1.023 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.6439, allocations: 43.83 kB / 1.023 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.644, allocations: 91.5 kB / 1.023 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.6444, allocations: 223.3 kB / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6444, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6444, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.6445, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.7794 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.0008307/0.6453, allocations: 0.5422 MB / 1.024 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6453, allocations: 12.03 kB / 1.024 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.6454, allocations: 38.73 kB / 1.024 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.6455, allocations: 24.75 kB / 1.024 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.6457, allocations: 247.2 kB / 1.024 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6458, allocations: 12 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.6458, allocations: 12 kB / 1.024 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.646, allocations: 85.66 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.646, allocations: 0 / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.646, allocations: 4 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.6461, allocations: 4 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.6462, allocations: 55.91 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.647, allocations: 464.4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.6474, allocations: 146.6 kB / 1.025 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.6475, allocations: 32.84 kB / 1.025 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.6475, allocations: 3.938 kB / 1.025 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.6478, allocations: 127.1 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.6478, allocations: 0 / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003462/0.6482, allocations: 163.4 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.6482, allocations: 59.41 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.6484, allocations: 198.5 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.6485, allocations: 33.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.6486, allocations: 124.4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.6486, allocations: 31.56 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6487, allocations: 57.67 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6489, allocations: 334.8 kB / 1.026 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.6489, allocations: 31.98 kB / 1.026 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6492, allocations: 130.8 kB / 1.026 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.6493, allocations: 107.3 kB / 1.026 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6493, allocations: 0 / 1.026 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002703/0.6496, allocations: 153.3 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6497, allocations: 11.98 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6497, allocations: 0 / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.6497, allocations: 8.125 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.6498, allocations: 8 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6498, allocations: 4 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.65, allocations: 31.81 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.65, allocations: 8 kB / 1.026 GB, free: 9.754 MB / 0.7794 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.0001442/0.6502, allocations: 139.5 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.6502, allocations: 15.81 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.6503, allocations: 25.86 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6503, allocations: 4 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6503, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6503, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.651, allocations: 494.1 kB / 1.027 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.651, allocations: 4 kB / 1.027 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.6511, allocations: 11.92 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6511, allocations: 7.938 kB / 1.027 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6511, allocations: 7.938 kB / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6511, allocations: 4 kB / 1.027 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6511, allocations: 0 / 1.027 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.6514, allocations: 230.9 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.6514, allocations: 92.86 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.6515, allocations: 7.938 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.6516, allocations: 19.97 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.6517, allocations: 15.98 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.6517, allocations: 11.98 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001167/0.6519, allocations: 139.2 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6519, allocations: 0 / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003077/0.6522, allocations: 44 kB / 1.027 GB, free: 8.414 MB / 0.7794 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.000697/0.6529, allocations: 0.8295 MB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.6532, allocations: 118.4 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6532, allocations: 0 / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.6533, allocations: 51.92 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.6537, allocations: 58.62 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.6558, allocations: 1.881 MB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.656, allocations: 0.7203 MB / 1.031 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.024e-05/0.6561, allocations: 37.41 kB / 1.031 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.6562, allocations: 55.41 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6562, allocations: 0 / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.6781, allocations: 5.533 MB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.36, allocations: 14.19 kB / 1.036 GB, free: 15.16 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches