Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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.001283/0.001287, 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.001323/0.001323, allocations: 193.5 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437.1 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 0.8694 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.583, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004117/0.5871, allocations: 3.081 MB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.5899, allocations: 1.726 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.5901, allocations: 7.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.5911, allocations: 334.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.5917, allocations: 211.1 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.5922, allocations: 167.6 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.5926, allocations: 327 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.593, allocations: 239 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.5932, allocations: 139.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.5934, allocations: 163.5 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.5935, allocations: 20 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.5939, allocations: 247.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.594, allocations: 107.8 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.5941, allocations: 123.3 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.5946, allocations: 418.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5946, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5946, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5947, allocations: 4 kB / 1.025 GB, free: 11.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009456/0.5956, allocations: 0.5381 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5957, allocations: 12.03 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.5957, allocations: 58.73 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/0.5964, allocations: 92.55 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5968, allocations: 263.8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.5968, allocations: 12.81 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5969, allocations: 24.56 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.5975, allocations: 384.9 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5975, allocations: 0 / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.5975, allocations: 11.98 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.5976, allocations: 32.41 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.5981, allocations: 305.5 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.5999, allocations: 1.529 MB / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.6003, allocations: 222.4 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.6005, allocations: 116.8 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.6006, allocations: 97.09 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.6007, allocations: 30.56 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.6007, allocations: 0 / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001251/0.6019, allocations: 0.7965 MB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.602, allocations: 55.41 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.6021, allocations: 198.6 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6022, allocations: 25.7 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.6023, allocations: 163.8 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.6023, allocations: 74.98 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.6024, allocations: 57.69 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6025, allocations: 330.8 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6027, allocations: 107.9 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.6029, allocations: 171 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.6032, allocations: 294.9 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6033, allocations: 4 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000675/0.6039, allocations: 416.7 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.604, allocations: 14.02 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.604, allocations: 3.938 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.6044, allocations: 101 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.6046, allocations: 51.89 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.6064, allocations: 1.875 MB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.6066, allocations: 27.88 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.6067, allocations: 12 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.6068, allocations: 157.8 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.6069, allocations: 15.81 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.6073, allocations: 301 kB / 1.033 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6073, allocations: 4 kB / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.6073, allocations: 0 / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6073, allocations: 3.938 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.6081, allocations: 0.6952 MB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6081, allocations: 4 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.6084, allocations: 55.89 kB / 1.034 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6084, allocations: 8 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6085, allocations: 8 kB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6085, allocations: 4 kB / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6085, allocations: 0 / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.609, allocations: 0.5163 MB / 1.034 GB, free: 264 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6092, allocations: 116.9 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.6092, allocations: 8.125 kB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6094, allocations: 19.98 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.6094, allocations: 7.984 kB / 1.035 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.6094, allocations: 8 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001325/0.6096, allocations: 148 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6096, allocations: 0 / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003434/0.6099, allocations: 72 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0008425/0.6108, allocations: 1.064 MB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006878/0.6115, allocations: 450.5 kB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6115, allocations: 0 / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6116, allocations: 121 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.612, allocations: 38.72 kB / 1.036 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.6154, allocations: 2.879 MB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6158, allocations: 0.7791 MB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.616, allocations: 57.89 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6161, allocations: 68.66 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.6161, allocations: 0 / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/2.172, allocations: 4.999 MB / 1.045 GB, free: 5.383 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/12.33, allocations: 10.5 kB / 1.045 GB, free: 5.375 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches