Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.001427/0.001427, 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.001387/0.001387, allocations: 196 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 64.3 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2483, allocations: 159.1 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005866/0.2542, allocations: 4.296 MB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.2579, allocations: 2.381 MB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2581, allocations: 15.88 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.2591, allocations: 374.2 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.2599, allocations: 370.2 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.2606, allocations: 317.3 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.2613, allocations: 0.6867 MB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.2617, allocations: 254.3 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.2621, allocations: 251 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.2624, allocations: 274.9 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.2625, allocations: 31.94 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.2632, allocations: 431 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.2634, allocations: 143.6 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2636, allocations: 238.6 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008273/0.2644, allocations: 0.7281 MB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2645, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2645, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2645, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 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.001094/0.2656, allocations: 0.7871 MB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2656, allocations: 8.031 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.2657, allocations: 86.62 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.267, allocations: 184.1 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.2676, allocations: 392.6 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.2676, allocations: 25.38 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.2677, allocations: 40.27 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.2685, allocations: 0.6586 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2685, allocations: 3.938 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2686, allocations: 20 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/0.2686, allocations: 55.95 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.2693, allocations: 499.3 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.2725, allocations: 3.775 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.2741, allocations: 0.6283 MB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2744, allocations: 186.3 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2744, allocations: 4 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2745, allocations: 42.56 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.2745, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002146/0.2766, allocations: 1.268 MB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.2767, allocations: 112.5 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.2771, allocations: 401.8 kB / 1.083 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2771, allocations: 29.7 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2773, allocations: 283.4 kB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.2774, allocations: 118.3 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2776, allocations: 98.16 kB / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2777, allocations: 354.8 kB / 1.084 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.278, allocations: 181 kB / 1.084 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2784, allocations: 371.2 kB / 1.085 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.2791, allocations: 0.599 MB / 1.085 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2791, allocations: 0 / 1.085 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001036/0.2802, allocations: 0.6707 MB / 1.086 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2802, allocations: 8 kB / 1.086 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2802, allocations: 8 kB / 1.086 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.2805, allocations: 103.1 kB / 1.086 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2809, allocations: 115.8 kB / 1.086 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.2843, allocations: 4.344 MB / 1.091 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.2846, allocations: 31.97 kB / 1.091 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.2847, allocations: 32.09 kB / 1.091 GB, free: 1.762 MB / 0.8419 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.0002077/0.2849, allocations: 193.6 kB / 1.091 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.285, allocations: 47.44 kB / 1.091 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.2858, allocations: 0.5267 MB / 1.091 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2859, allocations: 4 kB / 1.091 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2859, allocations: 0 / 1.091 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2859, allocations: 4 kB / 1.091 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.2875, allocations: 1.287 MB / 1.093 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2876, allocations: 4 kB / 1.093 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.2878, allocations: 63.89 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.288, allocations: 98.73 kB / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2881, allocations: 8 kB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.2913, allocations: 4.329 MB / 1.097 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.2913, allocations: 7.938 kB / 1.097 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/0.2922, allocations: 0.7776 MB / 1.098 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2923, allocations: 152.5 kB / 1.098 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.2924, allocations: 12 kB / 1.098 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.2927, allocations: 19.97 kB / 1.098 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.2928, allocations: 40.12 kB / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.2928, allocations: 16 kB / 1.098 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002672/0.2931, allocations: 279.1 kB / 1.098 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2931, allocations: 3.938 kB / 1.098 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005609/0.2936, allocations: 124 kB / 1.098 GB, free: 9.16 MB / 0.8575 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.001186/0.2948, allocations: 1.327 MB / 1.1 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.2961, allocations: 0.8247 MB / 1.101 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2961, allocations: 8.25 kB / 1.101 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.2968, allocations: 0.5428 MB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/0.2976, allocations: 130.5 kB / 1.101 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.3028, allocations: 4.583 MB / 1.106 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.3033, allocations: 0.8664 MB / 1.106 GB, free: 380 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.3035, allocations: 100.5 kB / 1.107 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3037, allocations: 159.4 kB / 1.107 GB, free: 120 kB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.3037, allocations: 0 / 1.107 GB, free: 120 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/1.982, allocations: 9.886 MB / 1.116 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13.79, allocations: 14.58 kB / 1.116 GB, free: 6.395 MB / 0.8731 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches