Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.005323/0.005323, allocations: 102.6 kB / 15.73 MB, free: 5.492 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.001234/0.001234, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.039/2.039, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 55.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.592, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004376/0.5964, allocations: 4.282 MB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.5991, allocations: 2.372 MB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.5993, allocations: 17.03 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.6002, allocations: 378.9 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.6008, allocations: 377.4 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.6013, allocations: 317.4 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.602, allocations: 0.6839 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.6024, allocations: 258.1 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.6027, allocations: 255.3 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.6031, allocations: 275.8 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.6031, allocations: 29.34 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.6038, allocations: 428.5 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.604, allocations: 144.9 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.6042, allocations: 232.3 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008376/0.6051, allocations: 0.735 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6051, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6051, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6051, allocations: 1.125 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001037/0.6061, allocations: 0.7852 MB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6062, allocations: 10.5 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.192e-05/0.6063, allocations: 82 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.6075, allocations: 179 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.6082, allocations: 446.6 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.6082, allocations: 23.19 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.6083, allocations: 38.11 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.6091, allocations: 0.652 MB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.6092, allocations: 2.156 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.6092, allocations: 18.28 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/0.6093, allocations: 53.95 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.6101, allocations: 0.4896 MB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.613, allocations: 3.783 MB / 1.104 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6148, allocations: 0.6302 MB / 1.105 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.615, allocations: 183.3 kB / 1.105 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.6151, allocations: 2.812 kB / 1.105 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.6151, allocations: 33.78 kB / 1.105 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.6151, allocations: 4 kB / 1.105 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002055/0.6172, allocations: 1.273 MB / 1.106 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6172, allocations: 107.2 kB / 1.107 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.6176, allocations: 403.8 kB / 1.107 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6176, allocations: 30.8 kB / 1.107 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.6178, allocations: 288.6 kB / 1.107 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.6179, allocations: 115.8 kB / 1.107 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.618, allocations: 97.53 kB / 1.107 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6181, allocations: 355.4 kB / 1.108 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.6184, allocations: 174.8 kB / 1.108 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.6187, allocations: 381.5 kB / 1.108 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.6194, allocations: 0.5969 MB / 1.109 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6194, allocations: 5.156 kB / 1.109 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009965/0.6204, allocations: 0.6734 MB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6204, allocations: 7.5 kB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6204, allocations: 7.031 kB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.6207, allocations: 104.4 kB / 1.11 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.6211, allocations: 111.9 kB / 1.11 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.624, allocations: 4.34 MB / 1.114 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.6243, allocations: 28.75 kB / 1.114 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.6244, allocations: 25.83 kB / 1.114 GB, free: 2.164 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.6246, allocations: 199.9 kB / 1.114 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.6247, allocations: 47.31 kB / 1.114 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/0.6255, allocations: 0.5179 MB / 1.115 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6255, allocations: 4 kB / 1.115 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6255, allocations: 6.562 kB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6255, allocations: 2.062 kB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.6272, allocations: 1.301 MB / 1.116 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6272, allocations: 2.562 kB / 1.116 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.6275, allocations: 64.08 kB / 1.116 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.6277, allocations: 85.23 kB / 1.116 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.6278, allocations: 9.797 kB / 1.116 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.6307, allocations: 4.341 MB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6307, allocations: 3.875 kB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.6315, allocations: 0.7722 MB / 1.121 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.6317, allocations: 152.8 kB / 1.121 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.6317, allocations: 9.594 kB / 1.121 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.632, allocations: 25.56 kB / 1.121 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.6321, allocations: 39.67 kB / 1.121 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.6321, allocations: 9.094 kB / 1.121 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002764/0.6324, allocations: 280.7 kB / 1.122 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6324, allocations: 1.156 kB / 1.122 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006117/0.633, allocations: 121.5 kB / 1.122 GB, free: 11.73 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.6341, allocations: 1.336 MB / 1.123 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.6352, allocations: 0.8051 MB / 1.124 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6352, allocations: 0 / 1.124 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.6359, allocations: 0.5403 MB / 1.124 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.6367, allocations: 139.8 kB / 1.125 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.6417, allocations: 4.549 MB / 1.129 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.6421, allocations: 0.8564 MB / 1.13 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.6424, allocations: 104.9 kB / 1.13 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.6426, allocations: 154 kB / 1.13 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.6426, allocations: 0 / 1.13 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8903/1.533, allocations: 10.03 MB / 1.14 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.64/19.17, allocations: 13.33 kB / 1.14 GB, free: 4.848 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches