Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001256/0.001256, allocations: 108 kB / 15.61 MB, free: 152 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.001293/0.001293, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.203/1.203, 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 11.0.1-master/package.mo): time 2.422/2.422, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 60.75 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2303, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002049/0.2324, allocations: 1.223 MB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.2332, allocations: 474.4 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.2333, allocations: 0 / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2333, allocations: 3.938 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.2333, allocations: 0 / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.2338, allocations: 111.6 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2339, allocations: 19.92 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.2339, allocations: 4 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.2339, allocations: 7.984 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.234, allocations: 15.94 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.234, allocations: 3.938 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2342, allocations: 103.9 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2342, allocations: 4 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2342, allocations: 11.92 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.2344, allocations: 95.81 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2344, allocations: 4 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2344, allocations: 3.938 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2344, allocations: 4 kB / 1.055 GB, free: 6.125 MB / 0.8106 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.0003717/0.2348, allocations: 393.3 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2348, allocations: 8.625 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2349, allocations: 38.73 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.2349, allocations: 0.9375 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.235, allocations: 168.3 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.235, allocations: 384 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.235, allocations: 8.375 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.2351, allocations: 38.23 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2351, allocations: 3.938 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.2351, allocations: 4 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2351, allocations: 4 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.2352, allocations: 11.94 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.2355, allocations: 245 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.2356, allocations: 30.52 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.2356, allocations: 20.94 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2356, allocations: 8 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.2357, allocations: 55.34 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001732/0.2359, allocations: 73.67 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.236, allocations: 59.34 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.236, allocations: 101.8 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.236, allocations: 33.7 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.2361, allocations: 88.05 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2361, allocations: 15.84 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2361, allocations: 21.7 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.2362, allocations: 310.8 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.2362, allocations: 15.98 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.2363, allocations: 39.36 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.2363, allocations: 47.42 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2363, allocations: 11.88 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.263e-05/0.2364, allocations: 78.05 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2365, allocations: 5.25 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2365, allocations: 7.984 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.2365, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.2365, allocations: 12.06 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2366, allocations: 4 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.2366, allocations: 4 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.2366, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 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 6.384e-05/0.2367, allocations: 117.7 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.2367, allocations: 4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.2367, allocations: 11.95 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2367, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2367, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2367, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2369, allocations: 302.5 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.237, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.237, allocations: 4 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.237, allocations: 3.938 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.237, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.237, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.237, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2371, allocations: 167.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.2372, allocations: 81.05 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2372, allocations: 0 / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.2372, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.2373, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2373, allocations: 7.984 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.2373, allocations: 87.34 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2373, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002536/0.2376, allocations: 39.92 kB / 1.058 GB, free: 3.008 MB / 0.8106 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.0005436/0.2381, allocations: 0.7823 MB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.2382, allocations: 32.05 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2382, allocations: 4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.2383, allocations: 16 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2385, allocations: 5.703 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.2394, allocations: 1.284 MB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2395, allocations: 0.6807 MB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.2396, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2396, allocations: 19.42 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2396, allocations: 0 / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6196/0.8592, allocations: 2.047 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.57, allocations: 14.8 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y