Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 128 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.001353/0.001353, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.368/1.368, 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.535/2.535, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6324, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003631/0.6361, allocations: 1.734 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.6377, allocations: 0.9007 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.6378, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.6381, allocations: 31.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.6385, allocations: 119.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.6389, allocations: 147.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.6393, allocations: 243.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6394, allocations: 41.56 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.6396, allocations: 115.7 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009973/0.6496, allocations: 1.681 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6497, allocations: 20 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.6499, allocations: 39.92 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.65, allocations: 39.89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.6501, allocations: 87.58 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.6505, allocations: 223.2 kB / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6506, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6506, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6506, allocations: 0 / 1.023 GB, free: 13.53 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.0008825/0.6515, allocations: 0.5488 MB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6515, allocations: 8.031 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.6516, allocations: 42.75 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.6517, allocations: 16.75 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.652, allocations: 251.2 kB / 1.024 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.652, allocations: 15.94 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.652, allocations: 8 kB / 1.024 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.6522, allocations: 95.02 kB / 1.024 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6522, allocations: 0 / 1.024 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.6523, allocations: 4 kB / 1.024 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6523, allocations: 4 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.6524, allocations: 47.97 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.6532, allocations: 472.3 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.6536, allocations: 138.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.6537, allocations: 40.78 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.6537, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.654, allocations: 111.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.654, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003521/0.6544, allocations: 165.3 kB / 1.025 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.6544, allocations: 55.41 kB / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.6546, allocations: 198.5 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.6547, allocations: 33.7 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6548, allocations: 124.4 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6548, allocations: 35.59 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.655, allocations: 65.67 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6551, allocations: 326.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.6552, allocations: 27.98 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.6555, allocations: 134.8 kB / 1.026 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.6556, allocations: 104.2 kB / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6556, allocations: 0 / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002754/0.6559, allocations: 160.4 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6559, allocations: 4 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6559, allocations: 4.125 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.656, allocations: 4 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.656, allocations: 19.92 kB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6561, allocations: 0 / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.6563, allocations: 27.83 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.6563, allocations: 8 kB / 1.026 GB, free: 9.992 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.0001529/0.6565, allocations: 139.5 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.6565, allocations: 19.8 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.6566, allocations: 21.88 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6566, allocations: 0 / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6566, allocations: 4 kB / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6566, allocations: 0 / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.6573, allocations: 0.4941 MB / 1.027 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6573, allocations: 3.938 kB / 1.027 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.6574, allocations: 8 kB / 1.027 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6574, allocations: 0 / 1.027 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6574, allocations: 7.938 kB / 1.027 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.6574, allocations: 3.984 kB / 1.027 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6574, allocations: 0 / 1.027 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.6577, allocations: 235 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.6577, allocations: 96.84 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.6578, allocations: 3.938 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.6579, allocations: 19.98 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.658, allocations: 19.97 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.658, allocations: 8 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001351/0.6582, allocations: 139.2 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6582, allocations: 0 / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003238/0.6585, allocations: 40 kB / 1.027 GB, free: 8.652 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.0007496/0.6593, allocations: 0.8252 MB / 1.028 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.6595, allocations: 122.7 kB / 1.028 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6595, allocations: 3.938 kB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.6596, allocations: 47.98 kB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.6601, allocations: 63.61 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.6622, allocations: 1.905 MB / 1.03 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.6625, allocations: 0.7242 MB / 1.031 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.187e-05/0.6626, allocations: 21.55 kB / 1.031 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.6627, allocations: 55.41 kB / 1.031 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.6627, allocations: 0 / 1.031 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.6863, allocations: 5.533 MB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.252, allocations: 13.36 kB / 1.036 GB, free: 15.37 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches