Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001124/0.001123, 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.001123/0.001123, allocations: 196.6 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.53/2.53, allocations: 437.1 MB / 0.7104 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5894, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003192/0.5926, allocations: 1.725 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.5943, allocations: 0.9085 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.5945, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.5947, allocations: 31.73 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.5951, allocations: 119.4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.5956, allocations: 150.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.596, allocations: 251.3 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.5962, allocations: 37.67 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.5964, allocations: 111.7 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009664/0.6061, allocations: 1.652 MB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.6061, allocations: 16 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.6062, allocations: 36 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.6063, allocations: 31.91 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.6065, allocations: 103.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.6068, allocations: 223.3 kB / 1.023 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6068, allocations: 3.938 kB / 1.023 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6068, allocations: 0 / 1.023 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.6068, allocations: 0 / 1.023 GB, free: 13.56 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008614/0.6077, allocations: 0.5411 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6077, allocations: 8.031 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.6078, allocations: 46.73 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.6079, allocations: 20.75 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.6082, allocations: 247.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6082, allocations: 15.98 kB / 1.024 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.6082, allocations: 16 kB / 1.024 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.6084, allocations: 113.2 kB / 1.024 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6085, allocations: 7.938 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6085, allocations: 0 / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6085, allocations: 0 / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6086, allocations: 63.91 kB / 1.024 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.6095, allocations: 0.5395 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.6097, allocations: 97.11 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.6097, allocations: 37.77 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6098, allocations: 7.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.61, allocations: 125.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.61, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003436/0.6103, allocations: 158.9 kB / 1.025 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6104, allocations: 81.11 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.6106, allocations: 210.4 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.6107, allocations: 33.7 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.6108, allocations: 124.5 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.6108, allocations: 35.62 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.6109, allocations: 53.69 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.611, allocations: 330.8 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-05/0.6111, allocations: 35.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.6113, allocations: 143 kB / 1.026 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6115, allocations: 103.7 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6115, allocations: 4 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002601/0.6117, allocations: 165.2 kB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6118, allocations: 8 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6118, allocations: 0 / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6118, allocations: 4 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.6119, allocations: 19.98 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6119, allocations: 11.92 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.6121, allocations: 23.98 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.6122, allocations: 15.94 kB / 1.026 GB, free: 9.82 MB / 0.7794 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.0001229/0.6123, allocations: 143.6 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.6123, allocations: 19.81 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.6124, allocations: 17.53 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6124, allocations: 0 / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6124, allocations: 0 / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6124, allocations: 7.984 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.613, allocations: 462.2 kB / 1.027 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.613, allocations: 0 / 1.027 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.613, allocations: 15.92 kB / 1.027 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6131, allocations: 7.938 kB / 1.027 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.6131, allocations: 3.938 kB / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6131, allocations: 0 / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6131, allocations: 0 / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.6133, allocations: 235.6 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.6134, allocations: 92.92 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.6134, allocations: 7.938 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.6136, allocations: 11.98 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.6136, allocations: 23.91 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.6137, allocations: 8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001363/0.6138, allocations: 143.2 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6138, allocations: 0 / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003209/0.6141, allocations: 51.92 kB / 1.027 GB, free: 8.5 MB / 0.7794 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.0006775/0.6148, allocations: 0.8262 MB / 1.028 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.6151, allocations: 107.9 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6151, allocations: 0 / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.6152, allocations: 51.98 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.6156, allocations: 61.66 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.6176, allocations: 1.926 MB / 1.03 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6179, allocations: 0.7242 MB / 1.031 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.527e-05/0.618, allocations: 21.53 kB / 1.031 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/0.6181, allocations: 63.41 kB / 1.031 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6181, allocations: 0 / 1.031 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.6405, allocations: 5.487 MB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.367, allocations: 6.859 kB / 1.036 GB, free: 15.23 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches