Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_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.001265/0.001265, allocations: 112.5 kB / 15.73 MB, free: 76 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.001247/0.001247, allocations: 191.3 kB / 16.67 MB, free: 6.57 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.753/2.753, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 60.05 kB / 1.018 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3085, allocations: 151.6 MB / 1.166 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002611/0.3112, allocations: 1.213 MB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.3122, allocations: 423 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.3122, allocations: 3.938 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3123, allocations: 0 / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.3123, allocations: 3.938 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.313, allocations: 103.6 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.3131, allocations: 23.92 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.3131, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.3131, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.3132, allocations: 15.92 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3132, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.3135, allocations: 99.91 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.3135, allocations: 7.969 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.3135, allocations: 11.94 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3137, allocations: 95.91 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3138, allocations: 0 / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3138, allocations: 4 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3138, allocations: 0 / 1.168 GB, free: 5.465 MB / 0.92 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.0005805/0.3144, allocations: 381 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3144, allocations: 11.97 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.616e-05/0.3145, allocations: 38.73 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3145, allocations: 8.891 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3147, allocations: 164.3 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3147, allocations: 8.375 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.3147, allocations: 384 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3149, allocations: 38.25 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3149, allocations: 3.938 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3149, allocations: 3.984 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3149, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.315, allocations: 11.94 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3153, allocations: 241 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3154, allocations: 38.5 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.3155, allocations: 20.78 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.3155, allocations: 4 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3157, allocations: 63.42 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3157, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002204/0.3159, allocations: 73.64 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.316, allocations: 55.39 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.3161, allocations: 101.9 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3161, allocations: 25.7 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.3162, allocations: 84.14 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3162, allocations: 19.89 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.3162, allocations: 17.72 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3164, allocations: 318.8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.3164, allocations: 11.94 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.3165, allocations: 39.41 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.3165, allocations: 51.38 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3165, allocations: 3.938 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.3167, allocations: 69.61 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3167, allocations: 4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3167, allocations: 4 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3167, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.3168, allocations: 12 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3168, allocations: 4.062 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.3168, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3168, allocations: 3.938 kB / 1.17 GB, free: 3.293 MB / 0.92 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.351e-05/0.3169, allocations: 125.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.317, allocations: 7.891 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.317, allocations: 7.562 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.317, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.317, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.317, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.3173, allocations: 310.8 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3173, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.3173, allocations: 7.938 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3174, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3174, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3174, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3174, allocations: 3.938 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3175, allocations: 163.8 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.3176, allocations: 89.06 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3176, allocations: 3.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.3177, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.3177, allocations: 3.984 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3177, allocations: 4 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.3178, allocations: 79.28 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003061/0.3181, allocations: 35.86 kB / 1.171 GB, free: 2.359 MB / 0.92 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.0008113/0.3189, allocations: 0.7688 MB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.3191, allocations: 43.92 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3191, allocations: 0 / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.3191, allocations: 16.12 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3193, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3205, allocations: 1.277 MB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3209, allocations: 0.6807 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.3209, allocations: 4 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3209, allocations: 15.44 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3209, allocations: 0 / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3431, allocations: 1.995 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.304, allocations: 15.45 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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