Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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.0009269/0.0009271, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004825/0.004825, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6659, allocations: 142.4 MB / 0.9552 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01561/0.6815, allocations: 15.76 MB / 0.9706 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009921/0.6915, allocations: 5.685 MB / 0.9761 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.6926, allocations: 37.97 kB / 0.9762 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007473/0.6933, allocations: 288.2 kB / 0.9764 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.6949, allocations: 0.7791 MB / 0.9772 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.6966, allocations: 0.7768 MB / 0.9779 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005262/0.7019, allocations: 6.038 MB / 0.9838 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00831/0.7102, allocations: 6.761 MB / 0.9904 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.7118, allocations: 1.175 MB / 0.9916 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.7138, allocations: 1.799 MB / 0.9934 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.7141, allocations: 180 kB / 0.9935 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.7157, allocations: 0.9867 MB / 0.9945 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.7168, allocations: 1.372 MB / 0.9958 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.7179, allocations: 1.277 MB / 0.9971 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004348/0.7222, allocations: 5.775 MB / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7222, allocations: 0 / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7222, allocations: 0 / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.966e-05/0.7223, allocations: 0 / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003731/0.726, allocations: 2.23 MB / 1.005 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7261, allocations: 12.03 kB / 1.005 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005101/0.7266, allocations: 432.9 kB / 1.005 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.7296, allocations: 0.6614 MB / 1.006 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.7316, allocations: 1.423 MB / 1.007 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.7317, allocations: 206 kB / 1.008 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/0.7321, allocations: 272.4 kB / 1.008 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00645/0.7386, allocations: 4.719 MB / 1.012 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.7386, allocations: 0 / 1.012 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.7389, allocations: 112 kB / 1.013 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.7391, allocations: 152.6 kB / 1.013 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005584/0.7447, allocations: 4.085 MB / 1.017 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.7631, allocations: 20.32 MB / 1.036 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.7661, allocations: 1.901 MB / 1.038 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.7671, allocations: 0.747 MB / 1.039 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.7673, allocations: 105.7 kB / 1.039 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.7673, allocations: 47.2 kB / 1.039 GB, free: 6.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 2.464e-06/0.7673, allocations: 0 / 1.039 GB, free: 6.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=92): time 0.01813/0.7855, allocations: 5.287 MB / 1.044 GB, free: 1.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.7856, allocations: 145.5 kB / 1.045 GB, free: 1.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7867, allocations: 0.9646 MB / 1.045 GB, free: 200 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.7868, allocations: 45.8 kB / 1.046 GB, free: 148 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.7875, allocations: 1.187 MB / 1.047 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.7878, allocations: 331.5 kB / 1.047 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.788, allocations: 133.6 kB / 1.047 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7881, allocations: 333.9 kB / 1.047 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7893, allocations: 0.8705 MB / 1.048 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.7909, allocations: 1.51 MB / 1.05 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.7936, allocations: 2.449 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.7937, allocations: 8 kB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003554/0.7972, allocations: 2.508 MB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004305/0.7977, allocations: 0.7136 MB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.7977, allocations: 20 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.7977, allocations: 36 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.8001, allocations: 0.5109 MB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-05/0.8002, allocations: 47.8 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8012, allocations: 163.4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.8014, allocations: 91.97 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.8014, allocations: 4 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/0.8048, allocations: 2.386 MB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.941e-05/0.8049, allocations: 20 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.8049, allocations: 35.94 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.8072, allocations: 0.5148 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.322e-05/0.8072, allocations: 43.84 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.8081, allocations: 136 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.8083, allocations: 91.98 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.001666/0.81, allocations: 1.218 MB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.8102, allocations: 98.86 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.8129, allocations: 1.829 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8129, allocations: 8 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.813, allocations: 3.984 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.813, allocations: 7.984 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009915/0.8229, allocations: 9.057 MB / 1.071 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.8229, allocations: 8 kB / 1.071 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.824, allocations: 247.6 kB / 1.071 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.824, allocations: 16 kB / 1.071 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.824, allocations: 32.59 kB / 1.072 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.8241, allocations: 23.92 kB / 1.072 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.8241, allocations: 15.94 kB / 1.072 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.8259, allocations: 1.77 MB / 1.073 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.8264, allocations: 323.8 kB / 1.074 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.8265, allocations: 32 kB / 1.074 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.8273, allocations: 75.89 kB / 1.074 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8274, allocations: 91.61 kB / 1.074 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.8275, allocations: 44 kB / 1.074 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008718/0.8284, allocations: 0.7254 MB / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8284, allocations: 0 / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002637/0.831, allocations: 0.8047 MB / 1.075 GB, free: 15.45 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.002144/0.8332, allocations: 2.369 MB / 1.078 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.8372, allocations: 2.972 MB / 1.081 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.8372, allocations: 4 kB / 1.081 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.8379, allocations: 0.5782 MB / 1.081 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.8402, allocations: 189.3 kB / 1.081 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.8608, allocations: 16.23 MB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.8634, allocations: 2.105 MB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002549/0.8659, allocations: 1.015 MB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.867, allocations: 0.757 MB / 1.101 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of SimCode: time 9.52e-07/0.867, allocations: 4 kB / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.9105, allocations: 28.2 MB / 1.128 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.9108, allocations: 233.8 kB / 1.129 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.25, allocations: 1 kB / 1.129 GB, free: 7.824 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches