Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 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.001798/0.001798, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.072/2.072, allocations: 390.2 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 67.89 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4902, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001669/0.4919, allocations: 1.203 MB / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.4925, allocations: 421.1 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.4925, allocations: 0 / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.4925, allocations: 3.938 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.4926, allocations: 5.422 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.493, allocations: 100.7 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.493, allocations: 16.72 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.4931, allocations: 5.016 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.4931, allocations: 4.469 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.4931, allocations: 19.09 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.4931, allocations: 5.031 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.4933, allocations: 102.3 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.4933, allocations: 1.156 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.4934, allocations: 14.45 kB / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.4935, allocations: 95.09 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4935, allocations: 0 / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4935, allocations: 0 / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.4935, allocations: 0 / 0.9516 GB, free: 7.711 MB / 0.7169 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.000317/0.4938, allocations: 380.3 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.4939, allocations: 13.22 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.4939, allocations: 31.81 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.494, allocations: 6.906 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.295e-05/0.494, allocations: 165.2 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.494, allocations: 6.312 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.494, allocations: 7.125 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.082e-05/0.4941, allocations: 40.59 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4941, allocations: 3.938 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4942, allocations: 4 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4942, allocations: 1.688 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.4942, allocations: 12.48 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.4944, allocations: 242.3 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.4945, allocations: 41.69 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.4945, allocations: 16.86 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.4945, allocations: 1.562 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-05/0.4946, allocations: 60.73 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4946, allocations: 0 / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001567/0.4948, allocations: 72.94 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4948, allocations: 52.81 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.802e-05/0.4949, allocations: 106.7 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.4949, allocations: 26.98 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.4949, allocations: 85.48 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.4949, allocations: 17.44 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.495, allocations: 23.12 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.495, allocations: 317.5 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.495, allocations: 8.891 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.495, allocations: 31.69 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.4951, allocations: 58.41 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4951, allocations: 3.938 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.989e-05/0.4952, allocations: 70.62 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.4952, allocations: 5.25 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4952, allocations: 5.297 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4952, allocations: 5.031 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.4953, allocations: 16.25 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4953, allocations: 1.5 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.4953, allocations: 5.406 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4953, allocations: 3.344 kB / 0.9535 GB, free: 5.738 MB / 0.7169 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 4.248e-05/0.4954, allocations: 116.5 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.4954, allocations: 1.531 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.4954, allocations: 7.547 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4954, allocations: 1.75 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.4954, allocations: 3.938 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4954, allocations: 5.469 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4956, allocations: 304.8 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4956, allocations: 3.984 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.4956, allocations: 2.906 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4956, allocations: 1.375 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.4956, allocations: 0 / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4956, allocations: 1.25 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4956, allocations: 0 / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.4957, allocations: 171.6 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.4957, allocations: 82.61 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.4958, allocations: 0 / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.4958, allocations: 5.375 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.4958, allocations: 1.406 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4958, allocations: 1.25 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.632e-05/0.4959, allocations: 83.64 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4959, allocations: 0 / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.4961, allocations: 34.97 kB / 0.9543 GB, free: 4.918 MB / 0.7169 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.0004208/0.4965, allocations: 0.7734 MB / 0.9551 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.4966, allocations: 36.58 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4966, allocations: 1.594 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.4967, allocations: 20.56 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.4969, allocations: 3.375 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.4975, allocations: 1.265 MB / 0.9564 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.4976, allocations: 0.687 MB / 0.957 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.4976, allocations: 2.875 kB / 0.957 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.4976, allocations: 12.83 kB / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4976, allocations: 0 / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.676, allocations: 1.961 MB / 0.959 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/9.469, allocations: 7.469 kB / 0.959 GB, free: 1.086 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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