Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.1.0-maint.11.x/package.mo", uses=false) 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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.004628/0.004628, allocations: 101.2 kB / 15.73 MB, free: 5.609 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.001301/0.001301, allocations: 194 kB / 16.67 MB, free: 5.527 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 71.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8136, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002208/0.8158, allocations: 1.209 MB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.8167, allocations: 418.5 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.8167, allocations: 4 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.8168, allocations: 0 / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.8168, allocations: 3.938 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.8173, allocations: 103.7 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.8174, allocations: 19.97 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.8174, allocations: 4 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.8175, allocations: 7.938 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.8175, allocations: 7.984 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.8175, allocations: 4 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.8177, allocations: 95.84 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.8178, allocations: 11.92 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.8178, allocations: 4 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.818, allocations: 91.47 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.818, allocations: 4 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.818, allocations: 0 / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.818, allocations: 0 / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005356/0.8186, allocations: 384.9 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8186, allocations: 15.97 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.8187, allocations: 38.69 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.8187, allocations: 8.875 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.8189, allocations: 168.4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.8189, allocations: 4.375 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.8189, allocations: 4.375 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.819, allocations: 42.23 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.819, allocations: 3.938 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.819, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8191, allocations: 4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.8191, allocations: 4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.8194, allocations: 244.9 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.8195, allocations: 46.5 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.8196, allocations: 12.86 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.8196, allocations: 0 / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8197, allocations: 63.48 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.8198, allocations: 0 / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002142/0.82, allocations: 85.56 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.82, allocations: 51.41 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.8201, allocations: 101.8 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.8201, allocations: 25.7 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.8202, allocations: 92.12 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.8202, allocations: 11.84 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.8203, allocations: 21.72 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8204, allocations: 318.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.8204, allocations: 8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.8205, allocations: 35.42 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.8205, allocations: 47.56 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.8206, allocations: 3.938 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001192/0.8207, allocations: 89.53 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8207, allocations: 4 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8207, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8207, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.8208, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8208, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.8208, allocations: 3.953 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.8208, allocations: 7.938 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.55e-05/0.8209, allocations: 125.7 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.821, allocations: 4.062 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.821, allocations: 3.562 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.821, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.821, allocations: 4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.821, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.8213, allocations: 298.6 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8213, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.8213, allocations: 4 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8213, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.8214, allocations: 4 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8214, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8214, allocations: 320 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.8215, allocations: 171.4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.8216, allocations: 81.05 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.8216, allocations: 4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.8217, allocations: 4 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.8217, allocations: 3.984 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.8217, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.8218, allocations: 83.28 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8218, allocations: 0 / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002859/0.8221, allocations: 39.86 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008003/0.8229, allocations: 0.7794 MB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.823, allocations: 31.92 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.823, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.8231, allocations: 16 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.8233, allocations: 6.125 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.8245, allocations: 1.28 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.8248, allocations: 0.6768 MB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.8248, allocations: 7.906 kB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.8249, allocations: 11.44 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8249, allocations: 0 / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.8477, allocations: 2.006 MB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/9.042, allocations: 15.44 kB / 1.229 GB, free: 8.082 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y