Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001076/0.001076, allocations: 91.06 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007739/0.007739, allocations: 169.6 kB / 16.26 MB, free: 6.68 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003433, allocations: 7.625 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001998/0.2916, allocations: 1.556 MB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.293, allocations: 0.9242 MB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.2931, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.2932, allocations: 31.78 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.2935, allocations: 95.58 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.2938, allocations: 134.7 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.2941, allocations: 227.4 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2942, allocations: 45.66 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2943, allocations: 91.67 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05378/0.3481, allocations: 3.578 MB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.3482, allocations: 11.94 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3483, allocations: 27.98 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.3484, allocations: 31.89 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3486, allocations: 109.2 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.3489, allocations: 207.3 kB / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3489, allocations: 0 / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3489, allocations: 0 / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3489, allocations: 0 / 1.066 GB, free: 14.68 MB / 0.8262 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.0007907/0.3497, allocations: 0.5139 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3497, allocations: 15.97 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3498, allocations: 42.73 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3499, allocations: 16.75 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3502, allocations: 251.2 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3502, allocations: 15.98 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3503, allocations: 12 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3505, allocations: 116.5 kB / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3505, allocations: 4 kB / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3505, allocations: 4 kB / 1.067 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3505, allocations: 0 / 1.067 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3506, allocations: 59.91 kB / 1.067 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.3515, allocations: 0.5474 MB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3517, allocations: 97.12 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.3518, allocations: 41.77 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3518, allocations: 12 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.352, allocations: 120 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 3.897e-06/0.352, allocations: 3.984 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003386/0.3523, allocations: 169.5 kB / 1.068 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3524, allocations: 81.11 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3526, allocations: 200.3 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.3526, allocations: 33.7 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.3527, allocations: 116.5 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3528, allocations: 43.53 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3528, allocations: 25.7 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3529, allocations: 327 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.353, allocations: 35.98 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3532, allocations: 144.3 kB / 1.069 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3534, allocations: 109.9 kB / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3534, allocations: 0 / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002541/0.3537, allocations: 167.3 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3537, allocations: 6.656 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3537, allocations: 8 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3537, allocations: 0 / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3538, allocations: 15.98 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3538, allocations: 7.938 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3541, allocations: 27.92 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3541, allocations: 8 kB / 1.069 GB, free: 11 MB / 0.8262 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.0001287/0.3542, allocations: 143.5 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3543, allocations: 19.72 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.3543, allocations: 21.52 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3543, allocations: 4 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3543, allocations: 0 / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3543, allocations: 3.938 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.3549, allocations: 482.2 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3549, allocations: 0 / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.355, allocations: 7.938 kB / 1.07 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.355, allocations: 3.938 kB / 1.07 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.355, allocations: 8 kB / 1.07 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.355, allocations: 3.938 kB / 1.07 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.355, allocations: 0 / 1.07 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3552, allocations: 224.2 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3553, allocations: 104.8 kB / 1.07 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3553, allocations: 8 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3555, allocations: 23.92 kB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3556, allocations: 19.97 kB / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3556, allocations: 8 kB / 1.07 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3557, allocations: 144.2 kB / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3557, allocations: 0 / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003199/0.356, allocations: 44 kB / 1.07 GB, free: 9.656 MB / 0.8262 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.0006938/0.3567, allocations: 0.8319 MB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.357, allocations: 103.8 kB / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.357, allocations: 0 / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.3571, allocations: 52.92 kB / 1.071 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3575, allocations: 43.95 kB / 1.071 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3599, allocations: 1.957 MB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3601, allocations: 0.7206 MB / 1.074 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.3602, allocations: 29.52 kB / 1.074 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.3603, allocations: 55.41 kB / 1.074 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3603, allocations: 0 / 1.074 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.3765, allocations: 5.04 MB / 1.079 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.3768, allocations: 287.5 kB / 1.079 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.246, allocations: 0 / 1.079 GB, free: 0.4961 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches