Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_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.00619/0.00619, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00136/0.00136, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8971, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002428/0.8996, allocations: 1.213 MB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.9005, allocations: 410.7 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.9005, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.9005, allocations: 3.938 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.9006, allocations: 3.984 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.9013, allocations: 103.6 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.9014, allocations: 23.92 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.9015, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.9015, allocations: 7.938 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.9015, allocations: 11.98 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.9016, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.9019, allocations: 99.84 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.9019, allocations: 11.92 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.9019, allocations: 7.984 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.9022, allocations: 87.83 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9022, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.917e-06/0.9022, allocations: 4 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9022, allocations: 0 / 1.209 GB, free: 11.57 MB / 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.000543/0.9027, allocations: 387.4 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9028, allocations: 8.031 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.9029, allocations: 34.75 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.9029, allocations: 8.922 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.903, allocations: 164.4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.903, allocations: 384 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.9031, allocations: 8.312 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.9032, allocations: 46.19 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9032, allocations: 7.938 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.9032, allocations: 4 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.9032, allocations: 3.984 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.9033, allocations: 4 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.9036, allocations: 252.8 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.9037, allocations: 42.44 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.9037, allocations: 12.86 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.9038, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.9039, allocations: 59.48 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.9039, allocations: 0 / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002603/0.9042, allocations: 69.62 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.9042, allocations: 59.39 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.9043, allocations: 105.8 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9043, allocations: 29.7 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.9044, allocations: 80.14 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.9044, allocations: 15.8 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.9044, allocations: 21.72 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.9045, allocations: 310.8 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.9046, allocations: 15.98 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.9047, allocations: 39.42 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.9047, allocations: 43.38 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9047, allocations: 7.938 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.9048, allocations: 69.61 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9049, allocations: 4 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.9049, allocations: 4 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.9049, allocations: 8 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.905, allocations: 11.94 kB / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.905, allocations: 0 / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.905, allocations: 7.906 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.905, allocations: 0 / 1.211 GB, free: 9.391 MB / 0.9356 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 7.458e-05/0.9051, allocations: 117.8 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.9051, allocations: 3.984 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.9051, allocations: 11.56 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9051, allocations: 0 / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9052, allocations: 4 kB / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9052, allocations: 0 / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.9054, allocations: 306.4 kB / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9054, allocations: 4.25 kB / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.9055, allocations: 4 kB / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.9055, allocations: 0 / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.9055, allocations: 4 kB / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9055, allocations: 0 / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9055, allocations: 0 / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.9057, allocations: 171.4 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.9057, allocations: 85.02 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.9057, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.9058, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.9058, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.9058, allocations: 7.984 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.9059, allocations: 83.56 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9059, allocations: 0 / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000296/0.9062, allocations: 31.94 kB / 1.212 GB, free: 8.473 MB / 0.9356 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.0008079/0.907, allocations: 0.7799 MB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.9071, allocations: 35.92 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9071, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.9072, allocations: 19.94 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.9074, allocations: 7.938 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.9084, allocations: 1.269 MB / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.9087, allocations: 0.6807 MB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.9088, allocations: 0 / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.9088, allocations: 11.44 kB / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9088, allocations: 0 / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.93, allocations: 2.015 MB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.889, allocations: 5.531 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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:A,B,seed,time,x,y