Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, 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.00165/0.00165, allocations: 191.9 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 60.41 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2916, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002385/0.294, allocations: 1.206 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.2949, allocations: 444.7 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.295, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.295, allocations: 3.984 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.2951, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.2956, allocations: 111.6 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.2957, allocations: 19.98 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.2957, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.2958, allocations: 7.938 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.241e-05/0.2958, allocations: 11.98 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2958, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2961, allocations: 111.8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2961, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.2961, allocations: 7.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.2964, allocations: 91.86 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2964, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2964, allocations: 4 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2964, allocations: 0 / 1.07 GB, free: 8.398 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004779/0.2969, allocations: 389.3 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2969, allocations: 8.031 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.297, allocations: 4.938 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2971, allocations: 168.3 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2971, allocations: 384 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2971, allocations: 4.375 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2972, allocations: 42.23 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2973, allocations: 192 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2973, allocations: 7.938 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2973, allocations: 4 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.2973, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.2975, allocations: 153.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.2976, allocations: 34.55 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.2976, allocations: 12.86 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.2976, allocations: 4 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.2978, allocations: 55.48 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2978, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.298, allocations: 77.45 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.2981, allocations: 51.41 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.2981, allocations: 101.9 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2982, allocations: 29.7 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2982, allocations: 92.06 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2982, allocations: 3.906 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2983, allocations: 21.72 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2984, allocations: 318.8 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.2984, allocations: 8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.2984, allocations: 31.44 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.2985, allocations: 51.36 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2985, allocations: 3.938 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001023/0.2986, allocations: 62 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2986, allocations: 13.66 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2986, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2987, allocations: 4.094 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.2987, allocations: 19.92 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2988, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.2988, allocations: 7.953 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2988, allocations: 3.984 kB / 1.072 GB, free: 6.391 MB / 0.8262 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.139e-05/0.2989, allocations: 119.5 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.2989, allocations: 3.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.2989, allocations: 3.5 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2989, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.299, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.299, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2991, allocations: 161.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2991, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.2991, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2991, allocations: 3.938 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2991, allocations: 3.938 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2991, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2991, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2993, allocations: 85.11 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.2993, allocations: 85.02 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2993, allocations: 3.938 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.2994, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.2994, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2994, allocations: 7.984 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.2994, allocations: 83.28 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2994, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002567/0.2997, allocations: 24 kB / 1.072 GB, free: 5.707 MB / 0.8262 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003457/0.3001, allocations: 179.6 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.3002, allocations: 35.91 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3002, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.3002, allocations: 15.94 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3004, allocations: 5.594 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.3006, allocations: 108.9 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3009, allocations: 0.6729 MB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3009, allocations: 7.984 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.3009, allocations: 7.438 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3009, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.003448/0.3044, allocations: 1.046 MB / 1.074 GB, free: 3.586 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y