Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.006295/0.006295, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001451/0.001451, allocations: 197.2 kB / 16.68 MB, free: 5.926 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 1.054 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8884, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003128/0.8916, allocations: 1.217 MB / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8928, allocations: 450.5 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.8928, allocations: 7.938 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.8929, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.893, allocations: 3.938 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.8938, allocations: 115.6 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.653e-05/0.8939, allocations: 19.92 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.894, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.894, allocations: 15.92 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.8941, allocations: 11.92 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.8941, allocations: 0 / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.8944, allocations: 103.8 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.8944, allocations: 15.97 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.8945, allocations: 11.94 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.8948, allocations: 99.8 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8948, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8948, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8948, allocations: 0 / 1.209 GB, free: 11.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006938/0.8955, allocations: 387.4 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.8956, allocations: 8.031 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.8956, allocations: 34.73 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.8957, allocations: 8.938 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.8959, allocations: 168.2 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.8959, allocations: 8.312 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.8959, allocations: 4.375 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.8961, allocations: 46.23 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.8961, allocations: 7.875 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8961, allocations: 0 / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.8961, allocations: 4 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.8962, allocations: 4 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.8966, allocations: 249 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.8967, allocations: 38.44 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.8968, allocations: 16.98 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.8968, allocations: 7.984 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.897, allocations: 55.41 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.8971, allocations: 0 / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002877/0.8974, allocations: 93.7 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.8974, allocations: 51.41 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.8975, allocations: 109.9 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.8976, allocations: 25.7 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.8976, allocations: 80.14 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.8977, allocations: 15.81 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.8977, allocations: 21.7 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8979, allocations: 322.8 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.8979, allocations: 11.92 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.898, allocations: 40.3 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.733e-05/0.8981, allocations: 64.22 kB / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.8981, allocations: 3.938 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001751/0.8983, allocations: 81.58 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8983, allocations: 4 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8983, allocations: 4 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8984, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.8985, allocations: 11.94 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.8985, allocations: 4 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.8985, allocations: 15.94 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8986, allocations: 4 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 0.0001091/0.8987, allocations: 121.8 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.8987, allocations: 0 / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.8987, allocations: 7.969 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8987, allocations: 0 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.8988, allocations: 0 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8988, allocations: 3.938 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.8991, allocations: 318.5 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8992, allocations: 0 / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.8992, allocations: 4 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.8992, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8992, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.8992, allocations: 4 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8992, allocations: 3.984 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.8995, allocations: 175.6 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.8995, allocations: 77.11 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8996, allocations: 7.984 kB / 1.212 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.8997, allocations: 4 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.8997, allocations: 4 kB / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.8997, allocations: 0 / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.8998, allocations: 83.27 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8998, allocations: 192 / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000405/0.9002, allocations: 39.94 kB / 1.212 GB, free: 8.32 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 (6): * Single equations (assignments): 4 * 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.0009201/0.9011, allocations: 0.7816 MB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.9013, allocations: 39.92 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9013, allocations: 0 / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/0.9014, allocations: 20.12 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.9017, allocations: 8.234 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.9033, allocations: 1.311 MB / 1.214 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.9036, allocations: 0.6846 MB / 1.215 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.9037, allocations: 11.97 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.9037, allocations: 11.44 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.9037, allocations: 0 / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.9263, allocations: 2.122 MB / 1.217 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.768, allocations: 11.98 kB / 1.217 GB, free: 3.277 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,time,x1,x2,y